nginx: centralize configuration

This commit is contained in:
Antoine Martin 2021-02-14 12:06:45 +01:00
parent 74bc853aae
commit e3440b61ab
7 changed files with 22 additions and 35 deletions

View file

@ -68,13 +68,6 @@ in {
};
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts.${config.services.grafana.domain} = {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";