Update Caddyfile

This commit is contained in:
Roman Kelesidis 2025-08-21 15:38:59 +03:00
commit 6334c24235
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -1,10 +1,9 @@
# Example Caddy configuration for TorrentPier
{$TP_HOST} { # Set your host manually if you are not using Docker
root * /app # Set your web root manually if you are not using Docker
example.com {
root * /path/to/www
encode gzip zstd
php_fastcgi app:9000 # Used for Docker
# php_fastcgi unix//run/php/php-fpm.sock
php_fastcgi unix//run/php/php-fpm.sock
try_files {path} {path}/ /index.php?{query}
file_server