-
-
Notifications
You must be signed in to change notification settings - Fork 787
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
Hosting homer behind reverse proxy on subpath #578
Comments
i think you must use the SUBFOLDER enviroment variable in the docker compose file, i have the same issue and setting the variable like SUBFOLDER=/homer in the docker compose doesn't solve the issue
I tried also without the last 3 labels but the problem persists:
|
I made it work this way.... docker-compose.yml
|
I'm sure the proposed solution works, i.e. rewriting content or introducing another reverse proxy to rewrite the paths to reverse the first reverse proxy. I can offer my own solution #694, however note that unlike the previously proposed solution, while avoiding rewrites, it requires building your own homer docker package to set the vite base url, e.g.:
|
Is your feature request related to a problem? Please describe.
I'm trying to use Traefik to host Homer behind a Reverse Proxy. The path I'm trying to use is 192.168.2.207/homer. However all .js includes are being done like this:
Describe the solution you'd like
A way to host homer on a path lower then the root of a webshite.
Describe alternatives you've considered
I tried all kinds of things with Traefik but haven't been able to resolve it. The only other option is trying to do something like homer.blah rather then blah/homer.
Additional context
N/A
The text was updated successfully, but these errors were encountered: