From a46bd197e34a8754c4bcb0ca1cf5517b1d9394c9 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 21 Aug 2025 20:49:27 +0300 Subject: [PATCH] Update Caddyfile --- install/docker/Caddyfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/install/docker/Caddyfile b/install/docker/Caddyfile index bcff70be3..37088543c 100644 --- a/install/docker/Caddyfile +++ b/install/docker/Caddyfile @@ -1,10 +1,5 @@ # Caddy configuration for TorrentPier (Docker) -{ - auto_https {$SSL_ENABLED:off} - admin off -} - {$TP_HOST}:{$TP_PORT:80} { root * /app encode gzip zstd @@ -27,8 +22,3 @@ } header @html_css_js Content-Type "{mime}; charset=utf-8" } - -http://{$TP_HOST} { - @ssl_enabled expression {env.SSL_ENABLED} == "on" - redir @ssl_enabled https://{$TP_HOST}{uri} permanent -}