nginx: centralize configuration
This commit is contained in:
parent
74bc853aae
commit
e3440b61ab
7 changed files with 22 additions and 35 deletions
|
|
@ -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}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue