feat: adds more proxy headers for sharkey to hopefully fix the issue with timeouts

This commit is contained in:
Ahwx 2025-03-03 13:19:53 +01:00
parent 3fbc341b84
commit 99ac383740

View file

@ -20,7 +20,11 @@
proxyPass = "http://localhost:8893"; proxyPass = "http://localhost:8893";
extraConfig = '' extraConfig = ''
proxy_set_header X-Prefix '/wiki'; proxy_set_header X-Prefix '/wiki';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $remote_addr;
proxy_buffering off; proxy_buffering off;
''; '';
}; };