changed the arrs to use the authentik outpost

This commit is contained in:
mc-fucker 2023-06-28 08:45:26 +02:00
parent 0b946ffef4
commit 573459a236
2 changed files with 5 additions and 3 deletions

View file

@ -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;

View file

@ -19,6 +19,7 @@
dbPort = "54320";
domain = "auth.mc-fucker.cool";
port = "9000";
outpostPort = "9001";
};
bookstack = {