Finish Komodo setup
Add OIDC snippet to Caddyfile Add komodo to Caddyfile
This commit is contained in:
@@ -92,6 +92,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
(oidc) {
|
||||
{args[0]}.tremendousturtle.tools {
|
||||
import ttt-log {args[0]}
|
||||
import tls
|
||||
@not_cf header !CF-Connecting-IP
|
||||
@cf header CF-Connecting-IP *
|
||||
|
||||
reverse_proxy @not_cf {args[0]}-app-1:{args[1]} {
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Forwarded-Port {server_port}
|
||||
}
|
||||
|
||||
reverse_proxy @cf {args[0]}-app-1:{args[1]} {
|
||||
header_up X-Real-IP {http.request.header.CF-Connecting-IP}
|
||||
header_up X-Forwarded-Port {server_port}
|
||||
}
|
||||
}
|
||||
}
|
||||
(redirect) {
|
||||
{args[0]}.tremendousturtle.tools {
|
||||
import tls
|
||||
@@ -174,6 +192,9 @@ import authentik dozzle
|
||||
import authentik tautulli
|
||||
#import authentik-test stash
|
||||
|
||||
# Authentik OIDC Configs
|
||||
import oidc komodo 9120
|
||||
|
||||
stash.tremendousturtle.tools {
|
||||
import ttt-log stash
|
||||
import tls
|
||||
|
||||
Reference in New Issue
Block a user