Upgraded to Trixie and php8.5.3
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
# Global log redirection to stdout and stderr
|
||||
ErrorLog "|/usr/bin/tee -a /var/log/apache2/error.log"
|
||||
CustomLog "|/usr/bin/tee -a /var/log/apache2/access.log" combined
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
|
||||
DocumentRoot /data/public
|
||||
|
||||
<Directory /data/public>
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# Remote IP configuration
|
||||
RemoteIPHeader X-Forwarded-For
|
||||
RemoteIPTrustedProxy 127.0.0.1
|
||||
</VirtualHost>
|
||||
|
||||
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>
|
||||
Reference in New Issue
Block a user