The snippet will now set the correct Host for the next hop and keep the original site in the X-Forward-Auth-Host. The authentik caddy-site will then put the X-Forward-Auth-Host into the X-Forwarded-Host (which would normally be the authentik host/domain). Authentik is able to handle the X-Forwarded-Host header. |
||
|---|---|---|
| .. | ||
| caddy_site.conf.j2 | ||
| docker-compose.yml.j2 | ||
| env.j2 | ||
| json.j2 | ||
| yml.j2 | ||