[fanny] disable proxy_buffer

This commit is contained in:
2025-01-16 16:36:38 +01:00
parent c7b02b9366
commit b15b2ae789
2 changed files with 13 additions and 1 deletions

View File

@@ -8,6 +8,11 @@
{ addr = "0.0.0.0"; port = 9000; }
];
root = "${self.packages.x86_64-linux.docs}/share/doc";
extraConfig = ''
proxy_buffering off;
proxy_cache off;
proxy_http_version 1.1;
'';
};
};

View File

@@ -65,7 +65,14 @@ in
services.nginx = {
enable = true;
virtualHosts."docs.malobeo.org" = {
locations."/".proxyPass = "http://10.0.0.11:9000";
locations."/" = {
proxyPass = "http://10.0.0.11:9000";
extraConfig = ''
proxy_buffering off;
proxy_cache off;
proxy_http_version 1.1;
'';
};
};
};