Freya -> Heimdall migration
This commit is contained in:
parent
bfcd900792
commit
e68222ca7e
1 changed files with 10 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
# let
|
||||
# freya_hosts = lib.attrsets.filterAttrs (k: v: builtins.elem "freya.zto" v) config.networking.hosts;
|
||||
# freya_ipv4 = builtins.elemAt 0 (builtins.attrNames freya_hosts);
|
||||
# heimdall_hosts = lib.attrsets.filterAttrs (k: v: builtins.elem "heimdall.zto" v) config.networking.hosts;
|
||||
# heimdall_ipv4 = builtins.elemAt 0 (builtins.attrNames heimdall_hosts);
|
||||
# in
|
||||
{
|
||||
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
'';
|
||||
};
|
||||
"hass.bertof.net" = ssl // {
|
||||
locations."/" = { proxyPass = "http://freya.tsn:8123/"; proxyWebsockets = true; };
|
||||
locations."/" = { proxyPass = "http://heimdall.tsn:8123/"; proxyWebsockets = true; };
|
||||
extraConfig = ''
|
||||
proxy_pass_header Authorization;
|
||||
proxy_buffering off;
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
};
|
||||
"ntfy.bertof.net" = ssl // {
|
||||
locations."/" = {
|
||||
proxyPass = "http://freya.tsn:7080/";
|
||||
proxyPass = "http://heimdall.tsn:7080/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 5g;
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
};
|
||||
"my-nextcloud.bertof.net" = ssl // {
|
||||
locations."/" = {
|
||||
proxyPass = "http://freya.tsn:80/";
|
||||
proxyPass = "http://heimdall.tsn:80/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 5g;
|
||||
|
|
@ -121,11 +121,11 @@
|
|||
recommendedProxySettings = 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; }; };
|
||||
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:7878/"; proxyWebsockets = true; }; };
|
||||
"sonarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:8989/"; proxyWebsockets = true; }; };
|
||||
"lidarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:8686/"; proxyWebsockets = true; }; };
|
||||
"ombi.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:5000/"; proxyWebsockets = true; }; };
|
||||
"jellyfin.bertof.net" = ssl // { locations."/" = { proxyPass = "http://heimdall.tsn:8096/"; proxyWebsockets = true; }; };
|
||||
};
|
||||
};
|
||||
openssh = { enable = true; openFirewall = true; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue