diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/grafana/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/services/grafana/default.nix b/modules/services/grafana/default.nix index 063a1c9..b3f2122 100644 --- a/modules/services/grafana/default.nix +++ b/modules/services/grafana/default.nix @@ -37,6 +37,18 @@ in services.nginx.virtualHosts."${cfg.vhostName}" = { forceSSL = true; useACMEHost = cfg.vhostName; + listen = [ + { + addr = "100.85.232.66"; + port = 443; + ssl = true; + } + { + addr = "100.85.232.66"; + port = 80; + ssl = false; + } + ]; locations."/" = { proxyPass = "http://${config.services.grafana.addr}:${ toString config.services.grafana.port |