Apache updates
This commit is contained in:
parent
ca6be9b072
commit
2687a23a8e
|
|
@ -31,9 +31,6 @@ RUN sed -i 's/LoadModule mpm_prefork_module/#LoadModule mpm_prefork_module/g' /e
|
|||
|
||||
COPY vhost.conf /etc/apache2/conf.d/vhost.conf
|
||||
|
||||
ENV APACHE_UID 100
|
||||
ENV APACHE_GID 101
|
||||
|
||||
# Define Grav specific version of Grav or use latest stable
|
||||
ENV GRAV_VERSION latest
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ ServerName localhost
|
|||
AccessFileName .htaccess.local .htaccess
|
||||
|
||||
## PHP-FPM connection
|
||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://php:9000/var/www/html/$1
|
||||
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/$1
|
||||
DirectoryIndex index.php
|
||||
|
||||
## Directories,
|
||||
|
|
@ -32,11 +32,11 @@ ServerName localhost
|
|||
Require all granted
|
||||
|
||||
<FilesMatch ".+(\.php)$">
|
||||
SetHandler "proxy:fcgi://php:9000"
|
||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
|
||||
<Proxy "fcgi://php:9000">
|
||||
<Proxy "fcgi://127.0.0.1:9000">
|
||||
ProxySet timeout=1200
|
||||
</Proxy>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue