Skip to content
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

base URL in the index.html #93

Open
JackKay404 opened this issue Oct 28, 2024 · 2 comments
Open

base URL in the index.html #93

JackKay404 opened this issue Oct 28, 2024 · 2 comments

Comments

@JackKay404
Copy link

Would it be possible to add a base URL option in the index.html so that the GUI could be placed behind a reverse proxy?
Something like here: https://betterstack.com/community/questions/how-to-handle-relative-urls-correctly-with-nginx-reverse-proxy/

@milot-mirdita
Copy link
Member

This is how we run the various servers. They all run as docker containers with nginx in front (separately from the one in the docker compose). Is this not working for you?

@JackKay404
Copy link
Author

Absolutely, I understand, and that option works very well for me. However, I would additionally like to run the container on my local server behind a reverse proxy such as Traefik. When I try this the main index.html can be accessed but the hard coded paths in the index.html fail e.g.

href="/f-a5df1f3eb4b1c6176a09/apple-touch-icon-72x72.png"

From what I understand (and I could be wrong) this could be solved by (optionally) allowing users to set a base href path like in the link I posted above.

Is that something you would look to add at some point? No worries if it's not the direction you want to take :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants