[APACHE] forgot to enable rewrite module for .htaccess
This commit is contained in:
parent
679cf7f480
commit
ac7dcd6c11
@ -1,6 +1,6 @@
|
|||||||
from php:7.4.21-apache
|
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 echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf-available/remoteip.conf
|
||||||
RUN a2enconf remoteip
|
RUN a2enconf remoteip
|
||||||
RUN sed -i -r 's/^ServerTokens .*/ServerTokens Prod/g' /etc/apache2/conf-available/security.conf
|
RUN sed -i -r 's/^ServerTokens .*/ServerTokens Prod/g' /etc/apache2/conf-available/security.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user