minor fix

This commit is contained in:
xinyangli 2024-12-02 16:30:49 +08:00
parent 4b5b41b05a
commit 68852681f7
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
2 changed files with 6 additions and 2 deletions

View file

@ -32,8 +32,7 @@
services.caddy = {
virtualHosts."https://gts.xiny.li".extraConfig = ''
encode zstd gzip
reverse_proxy * http://${config.services.gotosocial.settings.bind-address}:${toString config.services.gotosocial.settings.port} {
reverse_proxy http://${config.services.gotosocial.settings.bind-address}:${toString config.services.gotosocial.settings.port} {
flush_interval -1
}
'';

View file

@ -70,6 +70,11 @@ with my-lib;
name = "grafana-eu";
address = "grafana.xinyang.life";
}
{
name = "loki";
address = "thorite.coho-tet.ts.net";
port = 3100;
}
])
++ (mkCaddyScrapes [
{ address = "thorite.coho-tet.ts.net"; }