static-web: create /var/www/empty
This commit is contained in:
parent
c8f3dd8936
commit
665a3b8696
@ -9,6 +9,8 @@ RUN mv /etc/apache2/conf.d/proxy.conf /etc/apache2/conf.d/proxy.conf.disabled
|
||||
RUN ln -s /dev/stderr /var/log/apache2/error.log
|
||||
RUN ln -s /dev/stdout /var/log/apache2/access.log
|
||||
|
||||
RUN mkdir -p /var/www/empty
|
||||
|
||||
# allow configurations to mark requests as "don't log"
|
||||
RUN perl -i -pe 's{^(\s+CustomLog logs/access.log combined)$}{$1 env=!dontlog};' /etc/apache2/httpd.conf
|
||||
RUN echo "IncludeOptional /web/config/*.conf" >> /etc/apache2/httpd.conf
|
||||
|
Loading…
Reference in New Issue
Block a user