forked from DGNum/infrastructure
feat(nginx): Switch to simpleProxies for the majority of configs
This commit is contained in:
parent
af61ae6e61
commit
2f06f22ac7
22 changed files with 180 additions and 263 deletions
|
@ -69,17 +69,11 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
nginx.virtualHosts.${host} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${builtins.toString port}";
|
||||
proxyWebsockets = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
dgn-web.simpleProxies.grafana = {
|
||||
inherit host port;
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
|
||||
age-secrets.autoMatch = [ "grafana" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue