working grafana again

changed to wireguard module for box
This commit is contained in:
Anish L 2022-06-14 18:03:01 +10:00
parent 2f457a42ce
commit 2f2f9d2c91
2 changed files with 2 additions and 2 deletions

View file

@ -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?

View file

@ -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";
};
};