docker-apache-for-fpm/fpm.conf

19 lines
410 B
Plaintext
Raw Permalink Normal View History

<VirtualHost *:${APACHE_HTTP_PORT}>
2019-08-04 17:43:43 +00:00
ServerName ${SERVER_NAME}
<FilesMatch "\.php$">
SetHandler proxy:fcgi://${FPM_HOST}
</FilesMatch>
DocumentRoot /var/www/html/www
<Directory /var/www/html/www>
# enable the .htaccess rewrites
AllowOverride All
Require all granted
</Directory>
ErrorLog /dev/stderr
CustomLog /dev/stderr combined
</VirtualHost>