Merge pull request #170 from linuxserver/radarr-headers

Radarr headers
This commit is contained in:
aptalca
2020-05-30 10:52:57 -04:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -35,6 +35,8 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
location ~ (/radarr)?/api {
@@ -45,5 +47,7 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
}
+4
View File
@@ -19,6 +19,8 @@ location ^~ /radarr {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
location ^~ /radarr/api {
@@ -29,4 +31,6 @@ location ^~ /radarr/api {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}