mirror of
https://github.com/Adam-Ant/media-server-in-a-box
synced 2024-11-12 15:36:22 +00:00
Nginx path fixes
This commit is contained in:
parent
808da5f78c
commit
693ea45535
10
nginx.cfg
10
nginx.cfg
@ -1,7 +1,7 @@
|
||||
resolver 127.0.0.1;
|
||||
server {
|
||||
listen 80;
|
||||
server_name genie;
|
||||
server_name plex.genie;
|
||||
|
||||
location / {
|
||||
set $test "";
|
||||
@ -16,14 +16,14 @@ server {
|
||||
set $test "${test}B";
|
||||
}
|
||||
if ($test = AB) {
|
||||
rewrite ^/$ https://$http_host/web/index.html;
|
||||
rewrite ^/$ http://$http_host/web/index.html;
|
||||
}
|
||||
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
proxy_pass https://genie:32400;
|
||||
proxy_pass http://plex:32400;
|
||||
|
||||
# Plex proxy settings.
|
||||
proxy_redirect off;
|
||||
@ -49,7 +49,7 @@ server {
|
||||
server_name sickrage.genie;
|
||||
|
||||
location / {
|
||||
proxy_pass https://sickrage:8081;
|
||||
proxy_pass http://sickrage:8081;
|
||||
}
|
||||
}
|
||||
server {
|
||||
@ -57,7 +57,7 @@ server {
|
||||
server_name nzbget.genie;
|
||||
|
||||
location / {
|
||||
proxy_pass https://nzbget:6791;
|
||||
proxy_pass http://nzbget:6791;
|
||||
}
|
||||
}
|
||||
server {
|
||||
|
Loading…
Reference in New Issue
Block a user