diff --git a/modules/arrstack.nix b/modules/arrstack.nix index 54a8c2f..4e2d77d 100644 --- a/modules/arrstack.nix +++ b/modules/arrstack.nix @@ -5,6 +5,7 @@ let radarr_port = cfg.arrstack.radarr.port; sonarr_port = cfg.arrstack.sonarr.port; sabnzbd_port = cfg.arrstack.sabnzbd.port; + outpost_port = cfg.authentik.outpostPort; domain = "mc-fucker.cool"; in { @@ -84,7 +85,7 @@ in enableACME = true; locations = { "/" = { - proxyPass = "http://127.0.0.1:${bazarr_port}"; + proxyPass = "http://127.0.0.1:${outpost_port}"; extraConfig = '' proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; @@ -106,7 +107,7 @@ in enableACME = true; locations = { "/" = { - proxyPass = "http://127.0.0.1:${radarr_port}"; + proxyPass = "http://127.0.0.1:${outpost_port}"; extraConfig = '' #proxy_set_header Host $proxy_host; proxy_set_header Host $host; @@ -129,7 +130,7 @@ in enableACME = true; locations = { "/" = { - proxyPass = "http://127.0.0.1:${sonarr_port}"; + proxyPass = "http://127.0.0.1:${outpost_port}"; extraConfig = '' #proxy_set_header Host $proxy_host; proxy_set_header Host $host; diff --git a/modules/vars.nix b/modules/vars.nix index 5afeb89..e11bdf6 100644 --- a/modules/vars.nix +++ b/modules/vars.nix @@ -19,6 +19,7 @@ dbPort = "54320"; domain = "auth.mc-fucker.cool"; port = "9000"; + outpostPort = "9001"; }; bookstack = {