Let's change those in nginx too

This commit is contained in:
Lillian Violet 2024-03-26 14:40:05 +01:00
parent 2c33f7d069
commit 9dacc2172e

View file

@ -32,13 +32,13 @@
};
# nginx reverse proxy
services.nginx.virtualHosts.${config.services.grafana.domain} = {
services.nginx.virtualHosts.${config.services.grafana.settings.server.domain} = {
## Force HTTP redirect to HTTPS
forceSSL = true;
## LetsEncrypt
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
proxyPass = "http://127.0.0.1:${toString config.services.grafana.settings.server.port}";
proxyWebsockets = true;
};
};