Enable metrics for matrix-synapse
This commit is contained in:
parent
71f7131b7d
commit
139033130f
4 changed files with 52 additions and 40 deletions
|
@ -22,25 +22,6 @@
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
"alertmanager.grzb.de"= {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 443;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://${config.services.prometheus.alertmanager.listenAddress}:${builtins.toString config.services.prometheus.alertmanager.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue