feat(deploy): update Nginx configuration for Authentik proxy
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run

- Added resolver and upstream variable for Authentik server in Nginx configuration.
- Enhanced proxy_pass directive to use the defined upstream variable for better maintainability.
This commit is contained in:
R3D347HR4Y 2026-06-13 14:41:23 +02:00
parent 00944f0eb5
commit de27906baa

View File

@ -98,7 +98,9 @@ server {
}
location /auth/ {
proxy_pass http://authentik-server:9000;
resolver 127.0.0.11 valid=10s ipv6=off;
set $authentik_upstream authentik-server:9000;
proxy_pass http://$authentik_upstream;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;