diff --git a/install/Caddyfile b/install/Caddyfile index 38e73afa6..43c8f8aa2 100644 --- a/install/Caddyfile +++ b/install/Caddyfile @@ -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