mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds more proxy headers for sharkey to hopefully fix the issue with timeouts
This commit is contained in:
parent
3fbc341b84
commit
99ac383740
1 changed files with 4 additions and 0 deletions
|
|
@ -20,7 +20,11 @@
|
|||
proxyPass = "http://localhost:8893";
|
||||
extraConfig = ''
|
||||
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-Host $remote_addr;
|
||||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue