diff --git a/nginx.cfg b/nginx.cfg index 046eca0..2e38870 100644 --- a/nginx.cfg +++ b/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 {