add monitoring
This commit is contained in:
parent
7abc7e6c26
commit
c8f0058228
2 changed files with 61 additions and 0 deletions
19
hosts/monitoring/nginx.nix
Normal file
19
hosts/monitoring/nginx.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts."monitoring.${config.networking.domain}" = {
|
||||
default = true;
|
||||
quic = true;
|
||||
kTLS = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
#basicAuthFile = config.age.secrets.grafana_basic_auth.path;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://";
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue