diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-03-08 22:18:32 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-03-08 22:19:21 -0500 |
commit | 013e7064626128039188db947e17962ef39fb910 (patch) | |
tree | 3119f7288dc76f67f89f6573314a10cae5816e06 /modules | |
parent | 5c3dc974c9ddba4fb175e381fa88b9f3637cbbcf (diff) |
open up grafana.orbekk.com
Diffstat (limited to 'modules')
-rw-r--r-- | modules/monitoring.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/monitoring.nix b/modules/monitoring.nix index 80082c2..4530dd2 100644 --- a/modules/monitoring.nix +++ b/modules/monitoring.nix @@ -71,13 +71,13 @@ in }; }; - # services.nginx.virtualHosts.${cfg.grafana-domain} = { - # locations."/" = { - # enableACME = true; - # forceSSL = true; - # proxyPass = "http://127.0.0.1:${toString cfg.grafana-port}"; - # proxyWebsockets = true; - # }; - # }; + services.nginx.virtualHosts.${cfg.grafana-domain} = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:${toString cfg.grafana-port}"; + proxyWebsockets = true; + }; + }; }; } |