services/Caddyfile
2024-12-27 13:14:52 -06:00

42 lines
1.3 KiB
Caddyfile

dns.netgrimoire.com {
reverse_proxy 192.168.5.7:5380
}
webtop.netgrimoire.com {
reverse_proxy http://webtop:3000
}
(mailcow-proxy) {
reverse_proxy mailcow-nginx:80
}
mail.netgrimoire.com, imap.netgrimoire.com, smtp.netgrimoire.com, autodiscover.netgrimoire.com, autoconfig.netgrimoire.com {
import mailcow-proxy
}
mail.wasted-bandwidth.net, imap.wasted-bandwidth.net, smtp.wasted-bandwidth.net, autodiscover.wasted-bandwidth.net, autoconfig.wasted-bandwidth.net {
import mailcow-proxy
}
mail.gnarlypandaproductions.com, imap.gnarlypandaproductions.com, smtp.gnarlypandaproductions.com, autodiscover.gnarlypandaproductions.com, autoconfig.gnarlypandaproductions.com {
import mailcow-proxy
}
(email-proxy) {
reverse_proxy nginx-mailcow:80/sogo
}
email.gnarlypandaproductions.com, email.netgrimoire.com, email.wasted-bandwidth.net {
import email-proxy
}
(authentik) {
route /outpost.goauthentik.io/* {
reverse_proxy http://authentik:9000
}
forward_auth http://authentik:9000 {
uri /outpost.goauthentik.io/auth/caddy
copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Meta-Jwks X-Authentik-Meta-Outpost X-Authentik-Meta-Provider X-Authentik-Meta-App X-Authentik-Meta-Version
}
}