fix(arr): Fix websockets

This commit is contained in:
Madeleine Sydney
2025-05-12 01:24:17 -06:00
parent fcdeac41c9
commit 92ad3d295d
4 changed files with 37 additions and 13 deletions

View File

@@ -17,14 +17,25 @@ in {
vhost = {
forceSSL = true;
enableACME = true;
extraConfig = ''
# include ${../authelia/authelia-location.conf};
set $upstream http://127.0.0.1:8989;
'';
# Per https://wiki.servarr.com/radarr/installation/reverse-proxy
locations."/".extraConfig = ''
# include ${../authelia/authelia-authrequest.conf};
# include ${../authelia/proxy.conf};
proxy_pass $upstream;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
'';
locations."/api".extraConfig = ''
# Allow the API External Access via NGINX
auth_basic off;
proxy_pass $upstream;
'';
extraConfig = ''
set $upstream http://127.0.0.1:8989;
'';
};
};