chore: adapt winters to new infrastructure

This commit is contained in:
Swarsel 2024-10-20 22:12:09 +02:00
parent fc79159732
commit d2c8805e5b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
11 changed files with 91 additions and 57 deletions

View file

@ -13,7 +13,7 @@
port = 3001;
openFirewall = true;
mediaLocation = "/Vault/Eternor/Immich";
environment.IMMICH_MACHINE_LEARNING_URL = lib.mkForce "http://127.0.0.1:3003";
environment.IMMICH_MACHINE_LEARNING_URL = lib.mkForce "http://localhost:3003";
};
@ -25,7 +25,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://127.0.0.1:3001";
proxyPass = "http://localhost:3001";
extraConfig = ''
client_max_body_size 0;

View file

@ -30,7 +30,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.1.2:8096";
proxyPass = "http://localhost:8096";
extraConfig = ''
client_max_body_size 0;
'';

View file

@ -29,7 +29,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.1.2:8080";
proxyPass = "http://localhost:8080";
extraConfig = ''
client_max_body_size 0;
'';

View file

@ -89,7 +89,10 @@ in
listeners = [
{
port = 8008;
bind_addresses = [ "0.0.0.0" ];
bind_addresses = [
"127.0.0.1"
"::1"
];
type = "http";
tls = false;
x_forwarded = true;
@ -117,7 +120,7 @@ in
};
appservice = {
address = "http://localhost:29317";
hostname = "0.0.0.0";
hostname = "localhost";
port = "29317";
provisioning.enabled = true;
id = "telegram";
@ -167,7 +170,7 @@ in
};
appservice = {
address = "http://localhost:29318";
hostname = "0.0.0.0";
hostname = "127.0.0.1";
port = 29318;
database = {
type = "postgres";
@ -215,7 +218,7 @@ in
appservice = {
address = "http://localhost:29328";
hostname = "0.0.0.0";
hostname = "127.0.0.1";
port = 29328;
database = {
type = "postgres";
@ -275,16 +278,29 @@ in
"default_server"
];
}
{
addr = "[::0]";
port = 8448;
ssl = true;
extraParameters = [
"default_server"
];
}
{
addr = "0.0.0.0";
port = 443;
ssl = true;
}
{
addr = "[::0]";
port = 443;
ssl = true;
}
];
locations = {
"~ ^(/_matrix|/_synapse/client)" = {
# proxyPass = "http://localhost:8008";
proxyPass = "http://192.168.1.2:8008";
proxyPass = "http://localhost:8008";
extraConfig = ''
client_max_body_size 0;
'';

View file

@ -37,7 +37,7 @@
openFirewall = true;
settings = {
LogLevel = "error";
Address = "0.0.0.0";
Address = "127.0.0.1";
Port = 4040;
MusicFolder = "/Vault/Eternor/Musik";
EnableSharing = true;
@ -71,7 +71,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.1.2:4040";
proxyPass = "http://localhost:4040";
proxyWebsockets = true;
extraConfig = ''
proxy_redirect http:// https://;

View file

@ -16,7 +16,7 @@
user = "paperless";
port = 28981;
passwordFile = config.sops.secrets.paperless_admin.path;
address = "0.0.0.0";
address = "127.0.0.1";
settings = {
PAPERLESS_OCR_LANGUAGE = "deu+eng";
PAPERLESS_URL = "https://scan.swarsel.win";
@ -36,7 +36,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.1.2:28981";
proxyPass = "http://localhost:28981";
extraConfig = ''
client_max_body_size 0;
'';

View file

@ -4,4 +4,5 @@
# TODO
}
};
}

View file

@ -90,7 +90,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://localhost:8384/";
proxyPass = "http://localhost:8384";
extraConfig = ''
client_max_body_size 0;
'';

View file

@ -88,37 +88,37 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://127.0.0.1:9091";
proxyPass = "http://localhost:9091";
extraConfig = ''
client_max_body_size 0;
'';
};
"= /radarr" = {
proxyPass = "http://127.0.0.1:7878/";
"/radarr" = {
proxyPass = "http://localhost:7878";
extraConfig = ''
client_max_body_size 0;
'';
};
"= /readarr" = {
proxyPass = "http://127.0.0.1:8787/";
"/readarr" = {
proxyPass = "http://localhost:8787";
extraConfig = ''
client_max_body_size 0;
'';
};
"= /sonarr" = {
proxyPass = "http://127.0.0.1:8989/";
"/sonarr" = {
proxyPass = "http://localhost:8989";
extraConfig = ''
client_max_body_size 0;
'';
};
"= /lidarr" = {
proxyPass = "http://127.0.0.1:8686/";
"/lidarr" = {
proxyPass = "http://localhost:8686";
extraConfig = ''
client_max_body_size 0;
'';
};
"= /prowlarr" = {
proxyPass = "http://127.0.0.1:9696/";
"/prowlarr" = {
proxyPass = "http://localhost:9696";
extraConfig = ''
client_max_body_size 0;
'';