Server Version#: 1.18.4.2171-ac2afe5f8
Player Version#: Chrome
My ISP does not allow port forwarding so I am using tinc VPN hosted on a VPS which connects to my plex server on - 10.0.0.2 (locally 192.168.8.110).
When I am in the same network 192.168.8.110:32400 works perfectly in opening and running plex.
When I proxy into the VPS 10.0.0.2:32400 works perfectly in opening and running plex.
But when I setup my nginx config and access plex.example.com:
upstream plex-upstream {
server 10.0.0.2:32400;
}
server {
listen 80;
server_name plex.example.com;
location / {
if ($http_x_plex_device_name = '') {
rewrite ^/$ http://$http_host/web/index.html;
}
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_pass http://plex-upstream;
}
}
I get
Plex is not reachable.
Make sure your server has an internet connection and any firewalls or other programs are set to allow access.
How do I fix this?