MonarcAppFO/.docker/apache/sites-enabled/monarc.conf

27 lines
746 B
Plaintext

<VirtualHost *:80>
ServerName monarc.local
DocumentRoot /home/www/monarc/public
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log Combined
<FilesMatch .php$>
SetHandler "proxy:fcgi://monarc_php:9000"
</FilesMatch>
<Directory /home/www/monarc/public>
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff
Header always set X-XSS-Protection '1; mode=block'
Header always set X-Robots-Tag none
Header always set X-Frame-Options SAMEORIGIN
</IfModule>
SetEnv APP_ENV dev
SetEnv APP_DIR /home/www/monarc
</VirtualHost>