19 lines
434 B
Plaintext
19 lines
434 B
Plaintext
<VirtualHost *:80>
|
|
ServerName ${SERVER_NAME}
|
|
|
|
<FilesMatch \.php$>
|
|
SetHandler "proxy:fcgi://${FPM_HOST}"
|
|
</FilesMatch>
|
|
|
|
DocumentRoot /var/www/html/web
|
|
|
|
<Directory /var/www/html/web>
|
|
# enable the .htaccess rewrites
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/app_error.log
|
|
CustomLog ${APACHE_LOG_DIR}/app_access.log combined
|
|
</VirtualHost>
|