Hey Guys -
I am a big fan of Plex and am a long time Plex Pass member. Below are environment details which would probably help prior to explaining my issue:
- Plex Media Server Version: 1.13.6.5339
- Plex Web Player Version: 3.63.1
- Installed on a Windows 10 x64 (1803) workstation (i7-3770k / 32gb RAM)
- NGINX installed on same PC which applies a 3rd party signed cert & hosts reverse proxy for ~15 locally hosted services / sites
- I access plex both locally and remotely using a bookmark which loads Plex over reverse proxy therefore goes to https://mydomain.com/plex instead of the default of http://127.0.0.1:32400/web/index.html
My Issue
When visiting Plex from the same system it’s installed upon using https://mydomain.com/plex, it works, however; my server is listed as “Indirect.” (Visiting it using http://127.0.0.1:32400/web/index.html does not.). To note, I’m also asked to sign in even though I’ve configured Plex to not require it on my subnet. I think this issue may have something to do with my Network config or perhaps I’ve formatted something in it incorrectly, so below are my settings for PMS Network:
- Enable IPv6: Disabled
- Secure Connections: Preferred
- Custom certificate location: C:\ssl\mydomain.pfx
- Custom cert encryption key: CertsPassword
- Custom Cert Domain: mydomain.com
- Network Interface: All (I have many virtual NICs, but only one is listed here anyways - Ethernet 192.168.0.25)
- GSM Discovery: Enabled
- Remote Streams allowed: Unlimited
- LAN Networks: 192.168.0.1/24
- Treat WAN IP as LAN Bandwidth: Enabled
- Custom server access URLS: https://mydomain.com/plex
- List of IPs & networks allowed without auth: 192.168.0.1/24,192.168.240.1,192.168.132.1,10.0.75.1,172.24.76.97,192.168.1.1/24 (Included all after first subnet today as they are ranges of my virtual NICs)
- Enable HTTP Pipelining: Enabled
- Webhooks: Enabled
Finally, below is a snippet of my NGINX config which configures how Plex is forwarded to https://mydomain.com/plex via reverse proxy:
location /plex/ {
proxy_pass http://127.0.0.1:32400/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Websockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
}
if ($http_referer ~* /plex/) {
rewrite ^/web/(.*) /plex/web/$1? redirect;
}
Any suggestions / thoughts? Thanks!