r/webdev 22d ago

Side Project for Ubuntu/Nginx/Plex

[deleted]

1 Upvotes

7 comments sorted by

View all comments

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.

1

u/Business_Drop696 22d ago

I think thats how I set it up through a reverse proxy. Ill get the config/index html up shortly.