-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FEATURE_REQUEST] Base path option #923
Comments
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Yes, still relevant. |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
Yes, still relevant. |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
This issue was automatically closed because it has been stalled for over 6 weeks with no activity. |
Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
BasePath or similar option for when behind a reverse proxy.
I can run it fine by directly accessing the IP address, eg: 123.123.123.123:4000, but if this is placed behind a reverse proxy with a subpath Dashy doesn't load at all.
The reason is due to absolute pathing when loading assets.
Lets say Dashy is hosted at
mydomain.com/dashy
, all requests will go tomydomain.com/
. For example when requesting themanifest.json
file, I can see it tries to request frommydomain.com/manifest.json
instead ofmydomain.com/dashy/manifest.json
.Adding in a BasePath or relative pathing config option, will allow for letting Dashy know that it should be requesting from a subdirectory.
I quickly checked the Config docs, but couldn't see anything relevant: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md
I would imagine this would fall under the
appConfig
section.Priority
Medium (Would be very useful)
Is this something you would be keen to implement
Yes!
The text was updated successfully, but these errors were encountered: