Avoid duplicate Apache proxy module loads
This commit is contained in:
parent
dc63b6cb4d
commit
a47671e2af
|
|
@ -42,8 +42,6 @@ RUN set -eu; \
|
|||
test -s /usr/lib/apache2/mod_proxy_fcgi.so; \
|
||||
enable_module rewrite_module /usr/lib/apache2/mod_rewrite.so; \
|
||||
enable_module headers_module /usr/lib/apache2/mod_headers.so; \
|
||||
enable_module proxy_module /usr/lib/apache2/mod_proxy.so; \
|
||||
enable_module proxy_fcgi_module /usr/lib/apache2/mod_proxy_fcgi.so; \
|
||||
sed -i 's/DirectoryIndex index.html/DirectoryIndex index.php index.html/' /etc/apache2/httpd.conf; \
|
||||
sed -i 's/^Listen 80$/Listen 8080/' /etc/apache2/httpd.conf; \
|
||||
sed -i 's#^ErrorLog .*#ErrorLog /proc/self/fd/2#' /etc/apache2/httpd.conf; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue