Removal of config manipulation for apache2

As discussed on IRC we can remove the manipulation of the config files
here. The deployment tool is in full control of what configs are read.
We strongly recommend any deploy project using multiple distros
architect deploying using the appropriate flags available for control
over configs rather than trusting the distros default configs since the
defaults are different per distro.

Change-Id: I0b76c51503eb940df00e35f3d0392f8b24f8a272
This commit is contained in:
Sam Yaple 2017-03-29 19:38:46 +00:00
parent cffd3bd88d
commit 11ce99f2b3
3 changed files with 0 additions and 6 deletions

View File

@ -18,6 +18,4 @@ RUN set -x \
httpd \
mod_ssl \
mod_wsgi \
&& rm /etc/httpd/conf.d/* \
&& sed -i 's/^Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf \
&& /tmp/cleanup.sh

2
debian/Dockerfile vendored
View File

@ -18,6 +18,4 @@ RUN set -x \
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-wsgi \
&& rm /etc/apache2/ports.conf /etc/apache2/sites-enabled/* /etc/apache2/sites-available/* \
&& touch /etc/apache2/ports.conf \
&& /tmp/cleanup.sh

View File

@ -18,6 +18,4 @@ RUN set -x \
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-wsgi \
&& rm /etc/apache2/ports.conf /etc/apache2/sites-enabled/* /etc/apache2/sites-available/* \
&& touch /etc/apache2/ports.conf \
&& /tmp/cleanup.sh