New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUBFOLDER is not working in websockify resource #6
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
I cannot replicate this:
Try a private window? Also make sure you are actually running that command the one posted in your bash example is not the same it has |
@thelamer i updated the command which u point out the URL http://localhost:8080/ramki-gui-2l68k/ is working due to this, I can't host multiple container under a single domain name i |
Ahh yes I remember this linuxserver/docker-calibre#129 (comment) I always recommend using a subdomain but if you are forced to use a subfolder then this is your only current solution. |
This has been added to all the base images and I manually built ubuntu-kde. |
Is there an existing issue for this?
Current Behavior
I deployed this docker image under http://localhost:8080/ramki-gui-2l68k/ URL,
I run following docker command
docker run --rm -it --security-opt seccomp=unconfined --shm-size="1gb" -e PASSWORD=ramki -e SUBFOLDER=/ramki-gui-2l68k/ -p 8080:3000 lscr.io/linuxserver/webtop:ubuntu-kde
i expected all resources like css and js and others coming from like http://localhost:8080/ramki-gui-2l68k/public/css/kclient.css, http://localhost:8080/ramki-gui-2l68k/audio/socket.io/socket.io.js urls with http://localhost:8080/ramki-gui-2l68k is prefixed
Its working all resources except websockify
but websockify resource SUBFOLDER not used
Its try to access ws://localhost:8080/websockify URL
Expected Behavior
I am expecting http://localhost:8080/ramki-gui-2l68k/websockify will be used
Steps To Reproduce
Run following code
docker run --rm -it --security-opt seccomp=unconfined --shm-size="1gb" -e PASSWORD=ramki -e SUBFOLDER=/ramki-gui-2l68k/ -p 8080:3000 lscr.io/linuxserver/webtop:ubuntu-kde
Access http://localhost:8080/ramki-gui-2l68k/ url
its working but websockify is not following SUBFOLDER context path prefix, so when i added another reverse proxy in front of this docker image or i want to run more docker Webtop images like http://localhost:8080/docker1,http://localhost:8080/docker2, http://localhost:8080/docker3, etc...
Its not working
Check the URL of all resource, except websockify all urls are following SUBFOLDER value
Environment
Docker creation
docker run --rm -it --security-opt seccomp=unconfined --shm-size="1gb" -e PASSWORD=ramki -e SUBFOLDER=/ramki-gui-2l68k/ -p 8080:3000 lscr.io/linuxserver/webtop:ubuntu-kde
Container logs
The text was updated successfully, but these errors were encountered: