From fa9d2f2873f9d4e544b08f200bbadef26bb59331 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 1 Jan 2022 14:23:45 +0100 Subject: vidhar: nginx: ... --- hosts/vidhar/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index fc538d4d..01c9dccd 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -122,13 +122,15 @@ services.nginx = { enable = true; + recommendedGzipSettings = true; + recommendedProxyConfig = true; upstreams.grafana = { servers = { "unix:${config.services.grafana.socket}" = {}; }; }; virtualHosts = { ${config.services.grafana.domain} = { locations."/" = { - proxyPass = "http://grafana"; + proxyPass = "http://grafana/"; proxyWebsockets = true; }; }; -- cgit v1.2.3