diff --git a/Caddyfile b/Caddyfile index 535aadf..89b32cf 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,5 +1,11 @@ { auto_https off + # home-caddy (docker bridge 사설망) 가 TLS 를 종단하고 X-Forwarded-Proto: https + # 를 전달. trusted_proxies 없으면 Caddy 가 incoming scheme (http) 로 덮어써 + # FastAPI 307 redirect 의 Location 헤더가 http:// 로 나가 mixed-content block. + servers { + trusted_proxies static private_ranges + } } http://document.hyungi.net {