fix error duplicate conf

This commit is contained in:
Satria 2026-03-05 14:50:23 +07:00
commit e0a9e65c60

View file

@ -53,7 +53,6 @@ in {
proxyWebsockets = true; proxyWebsockets = true;
basicAuthFile = if cfg.auth then "/var/lib/nginx/.htpasswd" else null; basicAuthFile = if cfg.auth then "/var/lib/nginx/.htpasswd" else null;
extraConfig = '' extraConfig = ''
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
# proxy_set_header X-Auth-User $remote_user; # proxy_set_header X-Auth-User $remote_user;