Move from apache2 to caddy + php-fpm (#1)

This commit is contained in:
2025-01-06 21:48:59 +04:00
committed by GitHub
parent b9bd2d5951
commit d3e8812347
21 changed files with 214 additions and 260 deletions

23
config/Caddyfile Normal file
View File

@@ -0,0 +1,23 @@
:8080 {
root * /var/www/html/public
php_fastcgi unix//run/php-fpm.sock {
trusted_proxies private_ranges
}
file_server
log stdout
}
:8181 {
root * /phpbb/www
php_fastcgi unix//run/php-fpm.sock {
trusted_proxies private_ranges
}
file_server
log stdout
}