working grafana again
changed to wireguard module for box
This commit is contained in:
parent
2f457a42ce
commit
2f2f9d2c91
|
@ -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?
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue