Switch to tailscale for inner infra network
This commit is contained in:
parent
1427c784c0
commit
89f84345c1
6 changed files with 41 additions and 42 deletions
|
|
@ -88,25 +88,25 @@
|
|||
};
|
||||
"my-nextcloud.bertof.net" = ssl // {
|
||||
locations."/" = {
|
||||
proxyPass = "http://freya.zto:80/";
|
||||
proxyPass = "http://freya.tsn:80/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 5g;
|
||||
'';
|
||||
};
|
||||
};
|
||||
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:7878/"; proxyWebsockets = true; }; };
|
||||
"sonarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:8989/"; proxyWebsockets = true; }; };
|
||||
"lidarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:8686/"; proxyWebsockets = true; }; };
|
||||
"ombi.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:5000/"; proxyWebsockets = true; }; };
|
||||
"jellyfin.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.zto:8096/"; proxyWebsockets = true; }; };
|
||||
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.tsn:7878/"; proxyWebsockets = true; }; };
|
||||
"sonarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.tsn:8989/"; proxyWebsockets = true; }; };
|
||||
"lidarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.tsn:8686/"; proxyWebsockets = true; }; };
|
||||
"ombi.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.tsn:5000/"; proxyWebsockets = true; }; };
|
||||
"jellyfin.bertof.net" = ssl // { locations."/" = { proxyPass = "http://freya.tsn:8096/"; proxyWebsockets = true; }; };
|
||||
};
|
||||
};
|
||||
openssh = { enable = true; openFirewall = true; };
|
||||
# wgautomesh = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# interface = "wg0";
|
||||
# interface = "wg0";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ in
|
|||
http = {
|
||||
use_x_forwarded_for = true;
|
||||
trusted_proxies = [
|
||||
hosts.zerotier.ipv4."baldur.zto"
|
||||
# hosts.zerotier.ipv4."baldur.zto"
|
||||
hosts.tailscale.ipv4."baldur.tsn"
|
||||
"::1"
|
||||
"127.0.0.1"
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ in
|
|||
http = {
|
||||
use_x_forwarded_for = true;
|
||||
trusted_proxies = [
|
||||
hosts.zerotier.ipv4."baldur.zto"
|
||||
# hosts.zerotier.ipv4."baldur.zto"
|
||||
hosts.tailscale.ipv4."baldur.tsn"
|
||||
"::1"
|
||||
"127.0.0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue