Merge "Set ServerTokens parameter to 'Prod' for Ubuntu Apache config"

This commit is contained in:
Jenkins 2016-05-31 14:54:56 +00:00 committed by Gerrit Code Review
commit b6a0f98346

View File

@ -31,6 +31,7 @@ RUN apt-get -y install --no-install-recommends \
libapache2-mod-wsgi \
gettext \
&& echo > /etc/apache2/ports.conf \
&& sed -i 's|\(ServerTokens \)OS|\1Prod|' /etc/apache2/conf-available/security.conf \
&& apt-get clean \
&& ln -s ../mods-available/headers.load /etc/apache2/mods-enabled/headers.load