summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/default.nix4
1 files changed, 3 insertions, 1 deletions
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 @@
122 122
123 services.nginx = { 123 services.nginx = {
124 enable = true; 124 enable = true;
125 recommendedGzipSettings = true;
126 recommendedProxyConfig = true;
125 upstreams.grafana = { 127 upstreams.grafana = {
126 servers = { "unix:${config.services.grafana.socket}" = {}; }; 128 servers = { "unix:${config.services.grafana.socket}" = {}; };
127 }; 129 };
128 virtualHosts = { 130 virtualHosts = {
129 ${config.services.grafana.domain} = { 131 ${config.services.grafana.domain} = {
130 locations."/" = { 132 locations."/" = {
131 proxyPass = "http://grafana"; 133 proxyPass = "http://grafana/";
132 proxyWebsockets = true; 134 proxyWebsockets = true;
133 }; 135 };
134 }; 136 };