snapshot of caddy with oauth security plugin
This commit is contained in:
15
caddy/sites/test.caddy
Normal file
15
caddy/sites/test.caddy
Normal file
@@ -0,0 +1,15 @@
|
||||
test.rik.veenboer.xyz {
|
||||
log {
|
||||
output file /var/log/test.log
|
||||
}
|
||||
|
||||
authorize with mypolicy
|
||||
reverse_proxy host:12345
|
||||
|
||||
}
|
||||
|
||||
auth.rik.veenboer.xyz {
|
||||
route {
|
||||
authenticate with myportal
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
unused.rik.veenboer.xyz {
|
||||
handle {
|
||||
# import authentik
|
||||
reverse_proxy host:8100
|
||||
}
|
||||
|
||||
handle /seafhttp* {
|
||||
uri strip_prefix seafhttp
|
||||
reverse_proxy host:8182
|
||||
}
|
||||
|
||||
handle /seafdav* {
|
||||
reverse_proxy host:8180
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user