all working except lidarr

This commit is contained in:
kjeld Schouten-Lebbing 2020-02-28 12:34:48 +01:00
parent 9510f1f5f7
commit 0870c6c8ab

View File

@ -47,16 +47,17 @@ location /nzbhydra/ {
location /sonarr/ { location /sonarr/ {
auth_request /auth-0; auth_request /auth-0;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass https://192.168.31.23:8989; proxy_pass http://192.168.31.23:8989;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} }
location /radarr/ { location /radarr/ {
auth_request /auth-0; auth_request /auth-0;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass https://192.168.31.24:7878; proxy_pass http://192.168.31.24:7878;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -65,7 +66,7 @@ location /radarr/ {
location /lidarr/ { location /lidarr/ {
auth_request /auth-0; auth_request /auth-0;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass https://192.168.31.25:7878; proxy_pass http://192.168.31.25:7878;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -74,7 +75,7 @@ location /radarr/ {
location /jackett/ { location /jackett/ {
auth_request /auth-0; auth_request /auth-0;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass http://192.168.31.21:9117/; proxy_pass http://192.168.31.21:9117;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive; proxy_set_header Connection keep-alive;
@ -84,6 +85,7 @@ location /jackett/ {
proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Forwarded-Host $http_host;
} }
location /plex/ { location /plex/ {
auth_request /auth-4; auth_request /auth-4;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
@ -119,11 +121,18 @@ if ($http_referer ~* /plex/) {
location /tautulli/ { location /tautulli/ {
auth_request /auth-4; auth_request /auth-4;
add_header X-Frame-Options "SAMEORIGIN"; add_header X-Frame-Options "SAMEORIGIN";
proxy_pass http://192.168.31.26:8181/; proxy_pass http://192.168.31.26:8181;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} proxy_read_timeout 90;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Ssl on;
#proxy_redirect ~^(http(?:s)?://)([^:/]+)(?::\d+)?(/.*)?$ $1$2:$server_port$3;
proxy_redirect off;
}
location /ombi { location /ombi {
auth_request /auth-4; auth_request /auth-4;