shiftcalc/docker/apache/vhost.conf

21 lines
604 B
Plaintext
Raw Normal View History

2025-07-23 22:08:42 +02:00
<VirtualHost *:80>
ServerName localhost
DocumentRoot /usr/local/apache2/htdocs
<Directory /usr/local/apache2/htdocs>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
DirectoryIndex index.php index.html
#<FilesMatch \.php$>
# SetHandler "proxy:fcgi://php:9000/var/www/html/public"
#</FilesMatch>
ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://php:9000/var/www/html/public/$1"
ErrorLog /usr/local/apache2/logs/error.log
CustomLog /usr/local/apache2/logs/access.log combined
</VirtualHost>