diff --git a/flake.nix b/flake.nix index 75f0a2fc..b3968ed0 100644 --- a/flake.nix +++ b/flake.nix @@ -123,7 +123,7 @@ suites = with profiles; rec { base = [ core users.root users.anish ]; sealight = [ base server ]; # matrix rsshub backup wireguard-server - mossnet = [ base server taskd wireguard-box shaarli wallabag dns monitoring nfs rss-bridge gonic headphones radicale ]; # hpi syncthing + mossnet = [ base server taskd shaarli wallabag dns monitoring nfs rss-bridge gonic headphones radicale ]; # hpi syncthing cube = [ base site server ]; # backup graphical = [ base bluetooth music sync wifi desktop ]; curve = [ graphical secrets ]; # backup? diff --git a/profiles/monitoring/default.nix b/profiles/monitoring/default.nix index cdf568de..c652a5ab 100644 --- a/profiles/monitoring/default.nix +++ b/profiles/monitoring/default.nix @@ -8,11 +8,11 @@ }; # nginx reverse proxy + services.nginx.recommendedProxySettings = true; # Needed for new grafana versions services.nginx.virtualHosts.${config.services.grafana.domain} = { locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}"; proxyWebsockets = true; - extraConfig = "proxy_set_header Host $http_host"; }; };