docker-apache-for-fpm/fpm.conf
2019-08-04 19:43:43 +02:00

19 lines
393 B
Plaintext

<VirtualHost *:80>
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>