fix proxy buffer size

This commit is contained in:
Histausse 2023-04-20 21:01:20 +02:00
parent 104780d95f
commit fa4f5c2d75

View file

@ -61,6 +61,9 @@ in
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
extraConfig = ''
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;