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/* }