fixing grafana
This commit is contained in:
parent
0b023f20c5
commit
15f79ce898
|
@ -78,6 +78,11 @@ with lib;
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
nginx.virtualHosts."graf.tfcconnection.org" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://${config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}";
|
||||||
|
};
|
||||||
grafana = {
|
grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.server = {
|
settings.server = {
|
||||||
|
|
Loading…
Reference in a new issue