From b6819d019df1f464f67ca63d36337c9d9ac5acb4 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Mon, 3 Jun 2019 08:21:36 -0500 Subject: [PATCH 1/2] Fix comments on Plex configs --- plex.subdomain.conf.sample | 2 +- plex.subfolder.conf.sample | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plex.subdomain.conf.sample b/plex.subdomain.conf.sample index 3abb513..154cd5c 100644 --- a/plex.subdomain.conf.sample +++ b/plex.subdomain.conf.sample @@ -1,5 +1,5 @@ # make sure that your dns has a cname set for plex, if plex is running in bridge mode, the below config should work as is, for host mode, -# replace the line "proxy_pass https://$upstream_plex:32400;" with "proxy_pass https://HOSTIP:32400;" HOSTIP being the IP address of plex +# replace the line "proxy_pass http://$upstream_plex:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex # in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://plex.yourdomain.url:443") server { diff --git a/plex.subfolder.conf.sample b/plex.subfolder.conf.sample index 7648ad5..b8b84f2 100644 --- a/plex.subfolder.conf.sample +++ b/plex.subfolder.conf.sample @@ -1,6 +1,6 @@ # plex does not require a base url setting -# if plex is running in bridge mode, the below config should work as is. -# for host mode, replace the line "proxy_pass https://$upstream_plex:32400;" with "proxy_pass https://HOSTIP:32400;" HOSTIP being the IP address of plex +# if plex is running in bridge mode, the below config should work as is. +# for host mode, replace the line "proxy_pass http://$upstream_plex:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex # in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://yourdomain.url/plex:443") location /plex { From 441ddad6e019862e3cd4492dc0398aeb59fbdbf5 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Mon, 3 Jun 2019 08:25:31 -0500 Subject: [PATCH 2/2] Fix another comment on Plex configs --- plex.subfolder.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plex.subfolder.conf.sample b/plex.subfolder.conf.sample index b8b84f2..9b7c7fd 100644 --- a/plex.subfolder.conf.sample +++ b/plex.subfolder.conf.sample @@ -1,7 +1,7 @@ # plex does not require a base url setting # if plex is running in bridge mode, the below config should work as is. # for host mode, replace the line "proxy_pass http://$upstream_plex:32400;" with "proxy_pass http://HOSTIP:32400;" HOSTIP being the IP address of plex -# in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://yourdomain.url/plex:443") +# in plex server settings, under network, fill in "Custom server access URLs" with your domain (ie. "https://yourdomain.url:443/plex") location /plex { return 301 $scheme://$host/plex/;