From a26e239291c50dc5c8e12bbfad5136e376fd59b1 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 11 Apr 2025 12:43:16 -0400 Subject: [PATCH] fix: Fixes Caddyfile for pocket-id to work correctly in production. --- Caddyfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Caddyfile b/Caddyfile index e8fe75d..28036db 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,9 +1,8 @@ { - # Port to listen on - http_port 80 - # Configure caddy-security. + # Configure caddy-security. order authenticate before respond + security { oauth identity provider generic { delay_start 3 @@ -35,7 +34,7 @@ } } -http://localhost { +:80 { @auth { path /caddy-security/* }