From ac7dcd6c11a04ccac42704ba7539ddcb89eb3a1c Mon Sep 17 00:00:00 2001 From: thopic Date: Tue, 20 Jul 2021 16:55:09 +0200 Subject: [PATCH] [APACHE] forgot to enable rewrite module for .htaccess --- apaches/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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