Files
monica/scripts/docker/000-default.conf
T
2019-05-12 03:18:28 +02:00

30 lines
783 B
ApacheConf

LoadModule rewrite_module modules/mod_rewrite.so
ServerName localhost
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/monica/public
<Directory /var/www/monica/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<IfModule mod_proxy_fcgi>
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/monica/public/$1
DirectoryIndex index.php
</IfModule>
<IfModule log_config_module>
ErrorLog logs/error.log
CustomLog logs/access.log combined
ErrorLog /dev/stderr
CustomLog /dev/stdout combined
</IfModule>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet