Update Caddyfile

This commit is contained in:
Roman Kelesidis 2025-08-21 12:04:27 +03:00
commit ea9986978c
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -1,7 +1,7 @@
# Example Caddy configuration for TorrentPier
example.com {
root * /path/to/www
{$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
encode gzip zstd
php_fastcgi unix//run/php/php-fpm.sock
try_files {path} {path}/ /index.php?{query}