Skip to content

Commit

Permalink
explicit domains and default handler for caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikvtcodes committed Dec 23, 2023
1 parent 9ab0af9 commit 831e85f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docker/proxy/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,20 @@

servers {
metrics
}
}

# Redirect HTTP to HTTP(S)
# handle :80 {
# redir https://{host}{uri}
# }

handle :80 :443 {
respond "Just A Fly In The Ointment, Hans. The Monkey In The Wrench. The Pain In The Ass. - John McClane, Die Hard"
}

# Authentik
auth.{$ROOT_DOMAIN} {
auth.orangeunilabs.com {
reverse_proxy auth:5080
tls {
dns cloudflare {env.CF_API_TOKEN}
Expand Down

0 comments on commit 831e85f

Please sign in to comment.