From c7b02b9366589cf56c1722bac675c3fadeef8c09 Mon Sep 17 00:00:00 2001 From: kalipso Date: Thu, 16 Jan 2025 16:26:23 +0100 Subject: [PATCH] [vpn] disable proxy_buffer url http://10.100.0.101:80/css/variables.css only returns half the file hopefully this fixes it --- machines/vpn/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index ec18fa51..47685432 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -31,7 +31,15 @@ with lib; services.nginx = { enable = true; virtualHosts."docs.malobeo.org" = { - locations."/".proxyPass = "http://10.100.0.101"; + locations."/" = { + proxyPass = "http://10.100.0.101"; + extraConfig = '' + proxy_buffering off; + proxy_cache off; + proxy_http_version 1.1; + ''; + }; + }; };