Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ddb0fd authored by Israel Yago Pereira's avatar Israel Yago Pereira
Browse files

Remove php version from headers

parent 79637790
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ RUN ln -s /etc/apache2/conf-available/remoteip.conf /etc/apache2/conf-enabled/r
# replace %h = host always pointing to haproxy ip by %a in LogFormat to get real users ip
# as per https://www.globo.tech/learning-center/x-forwarded-for-ip-apache-web-server/
RUN sed -i 's/"%h/"%a/g' /etc/apache2/apache2.conf
RUN sed -i 's/ServerTokens OS/ServerTokens Prod/g' /etc/apache2/conf-enabled/security.conf
RUN sed -i 's/ServerSignature On/ServerSignature Off/g' /etc/apache2/conf-enabled/security.conf


COPY --chown=www-data:www-data --from=build /tmp/build/ /var/www/html/

htdocs/php.ini

0 → 100644
+1 −0
Original line number Diff line number Diff line
expose_php = 0
 No newline at end of file