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

Run GPM behind a reverse proxy using a subpath #452

Open
monsdar opened this issue Sep 20, 2022 · 1 comment
Open

Run GPM behind a reverse proxy using a subpath #452

monsdar opened this issue Sep 20, 2022 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@monsdar
Copy link

monsdar commented Sep 20, 2022

I'd like to run GPM behind my traefik reverse proxy using a subpath like https://mydomain.com/gpm. Unfortunately this does not seem to be supported right now, as the main page tries to load resources from the root-path of the domain.

I'm not very familiar with web development, but I think this can be fixed by simply using

Relative path: <script defer="defer" src="./static/js/main.9d2388a4.js"></script> (note the dot in src)

instead of

Absolute path: <script defer="defer" src="/static/js/main.9d2388a4.js"></script> (current code)

when referencing resources.

@ralgozino ralgozino added the bug Something isn't working label Sep 21, 2022
@ralgozino
Copy link
Member

Hi @monsdar

Just to confirm that yes, GPM doesn't work correctly under a subpath. There are a few places that need to be tweaked for this to work. We'll keep it in the radar for the next releases.

@ralgozino ralgozino added this to the v1.1.0 milestone Sep 21, 2022
@ralgozino ralgozino added the good first issue Good for newcomers label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants