--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2024-06-01 09:16:26 +02:00
parent ff364a3009
commit fb0945a10e
4 changed files with 313 additions and 313 deletions

View file

@ -39,16 +39,6 @@
time.timeZone = "Europe/Rome";
services = {
grafana = {
enable = true;
settings = {
server = {
http_addr = "127.0.0.1";
domain = "bertof.net";
root_url = "https://grafana.bertof.net/";
};
};
};
fail2ban = {
enable = true;
bantime-increment.enable = true;
@ -116,9 +106,11 @@
};
"grafana.bertof.net" = ssl // {
locations."/" = {
proxyPass = "http://${toString config.services.grafana.settings.server.http_addr}:${toString config.services.grafana.settings.server.http_port}";
proxyPass = "http://heimdall.tsn:3000/";
proxyWebsockets = true;
recommendedProxySettings = true;
extraConfig = ''
client_max_body_size 5g;
'';
};
};
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:7878/"; proxyWebsockets = true; }; };