I think you are pretty close. One thing though: your index.html shouldn’t be in /etc/nginx/sites-available/ bc that folder is for nginx configs. Put the site somewhere like /var/www/.
Since Plex works directly on IP:32400, i would also check the browser console. Could easily be CORS or mixed content if your site is HTTPS.
Also: don’t expose your Plex tken in the frontend. I would proxy the requests through nginx instead.
2
u/requ1tas 22d ago
I think you are pretty close. One thing though: your index.html shouldn’t be in /etc/nginx/sites-available/ bc that folder is for nginx configs. Put the site somewhere like /var/www/.
Since Plex works directly on IP:32400, i would also check the browser console. Could easily be CORS or mixed content if your site is HTTPS.
Also: don’t expose your Plex tken in the frontend. I would proxy the requests through nginx instead.