Files
CORXN/000-default.conf

22 lines
501 B
Plaintext
Raw Permalink Normal View History

2025-03-15 00:38:49 -07:00
<VirtualHost *:80>
2026-03-20 08:49:15 -07:00
ServerName localhost
2025-03-15 00:38:49 -07:00
DocumentRoot /data/public
2026-03-20 08:49:15 -07:00
2025-03-15 00:38:49 -07:00
<Directory /data/public>
2026-03-20 08:49:15 -07:00
Options FollowSymLinks
2025-03-15 00:38:49 -07:00
AllowOverride All
Require all granted
</Directory>
2026-03-20 08:49:15 -07:00
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>