22 lines
501 B
Plaintext
22 lines
501 B
Plaintext
<VirtualHost *:80>
|
|
ServerName localhost
|
|
|
|
DocumentRoot /data/public
|
|
|
|
<Directory /data/public>
|
|
Options FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
# PHP-FPM handler
|
|
<FilesMatch \.php$>
|
|
SetHandler "proxy:unix:/run/php/php8.5-fpm.sock|fcgi://localhost/"
|
|
</FilesMatch>
|
|
|
|
# Docker-friendly logging
|
|
ErrorLog /proc/self/fd/2
|
|
CustomLog /proc/self/fd/1 combined
|
|
</VirtualHost> |