Eric Nemchik 2020-05-30 08:34:14 -05:00
parent f339da9cd1
commit fd17873bbf
2 changed files with 8 additions and 0 deletions

View file

@ -29,6 +29,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 {
@ -39,5 +41,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;
}
}

View file

@ -16,6 +16,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 {
@ -26,4 +28,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;
}