fix: Fixes Caddyfile for pocket-id to work correctly in production.
All checks were successful
CI / release (push) Successful in 5m32s
All checks were successful
CI / release (push) Successful in 5m32s
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
{
|
{
|
||||||
# Port to listen on
|
|
||||||
http_port 80
|
|
||||||
# Configure caddy-security.
|
# Configure caddy-security.
|
||||||
# Configure caddy-security.
|
order authenticate before respond
|
||||||
|
|
||||||
|
security {
|
||||||
oauth identity provider generic {
|
oauth identity provider generic {
|
||||||
delay_start 3
|
delay_start 3
|
||||||
realm generic
|
realm generic
|
||||||
@@ -35,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:80 {
|
:80 {
|
||||||
http://localhost {
|
@auth {
|
||||||
path /caddy-security/*
|
path /caddy-security/*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user