diff --git a/apaches/Dockerfile b/apaches/Dockerfile index 5546ade..aa6ac70 100644 --- a/apaches/Dockerfile +++ b/apaches/Dockerfile @@ -1,6 +1,6 @@ from php:7.4.21-apache -RUN a2enmod remoteip +RUN a2enmod remoteip rewrite RUN echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf RUN a2enconf remoteip RUN sed -i -r 's/^ServerTokens .*/ServerTokens Prod/g' /etc/apache2/conf-available/security.conf