-
Notifications
You must be signed in to change notification settings - Fork 191
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
Add a base url for proxies #183
Comments
@kordianbruck Are you able to submit a PR for this? 😊 |
@joshdholtz I wouldn't know much about ruby really. But I'm happy to try. Any hints? |
@kordianbruck I always just look at other code examples while learning new languages 🙃 |
Hey! You can set the RAILS_RELATIVE_URL_ROOT variable |
the submit button also needs to be fixed after setting RAILS_RELATIVE_URL_ROOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I'm running this using the docker image and nginx. I use nginx to reverse proxy the requests to the docker image. Unfortunately you guys use absolute paths and have no means on how to set the base url for the app. So the assets cannot be loaded as they mismatch to / while the app is actually being served from /beta/ with a location match.
For reference gogs lets you set the base url in the config: gogs/gogs#1844
Proxy config:
Ideally one could set this using a ENV variable. Alternatively you will use relative paths - might not be the smartest solution.
The text was updated successfully, but these errors were encountered: