[Feature Request]
Closed this issue · 6 comments
Is your feature request related to a problem? Please describe.
When setting up movie match behind a reverse proxy, the pictures will only load if the location "/" is proxied to the movie match port. But this location is also be used to display an html webpage in my case.
Describe the solution you'd like
It would be good if Moviematch only required to proxy pass the location '/moviematch' in the case of subpath Nginx.
Describe alternatives you've considered
I'm not really sure if it's possible to do this, or if it is only a bug on my side.
Additional context
Have you tried setting the ROOT_PATH
environment variable to "/moviematch"?
I set BASE_PATH = /moviematch, but I don't see any ROOT_PATH variable in the README. Maybe I don't have the right version. From what I see I'm at 1.7.0.
For my Nginx configuration I used this :
location ^~ /moviematch/ { proxy_pass http://localhost:8000/; proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-Prefix /moviematch; }
Can you upgrade to v1.10.0 and try it with ROOT_PATH
?
The environment variables are different between v1 and (unreleased) v2, which is causing confusion here.
How can I specify the version ? I'm using the following command, and it seems that the version 1.7.0 is getting installed.
sudo docker run -it -e PLEX_URL=xxxxx:32400 -e PLEX_TOKEN=xxxxxxx -e ROOT_PATH=/moviematch -p 8000:8000 --restart always lukechannings/moviematch
Edit : It seems to be working now, it shows the picutres, but still in 1.7.0
sudo docker run -it -e PLEX_URL=xxxxx:32400 -e PLEX_TOKEN=xxxxxxx -e ROOT_PATH=/moviematch -p 8000:8000 --restart always lukechannings/moviematch:1.10.0
Or
sudo docker run -it -e PLEX_URL=xxxxx:32400 -e PLEX_TOKEN=xxxxxxx -e ROOT_PATH=/moviematch -p 8000:8000 --restart always --pull always lukechannings/moviematch:latest
Ok thanks for your help, it works just fine !