From 6334c242352e0ee147ab6a6a76c97922723a985b Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 21 Aug 2025 15:38:59 +0300 Subject: [PATCH] Update Caddyfile --- install/Caddyfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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