Support for reverse proxy base_url #468
deepseth
started this conversation in
Feature Request
Replies: 1 comment
-
I would really need this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🏷️ Feature Request Type
Other
🔖 Feature description
When running behind a reverse proxy, sometimes it's prefereable to use a consistent
domain.tld/<container-name>
path redirect, instead of<container-name>.domain.tld
(e.g. when using http basic auth in front of domain.tld).✔️ Solution
Enable support for a different base instead of /, and configure this via an environment variable that is passed at container creation time.
❓ Alternatives
Configuration could be via a file, or via a runtime paramter too.
📝 Additional Context
Right now, all assets (e.g. javascript files required for the front end to work) are pulled specifically from
/assets
. With the ability to specify a different base URL (e.g.BASE_URL=/dockge
), this would rewrite requests to pull from$BASE_URL/assets
instead (i.e./dockge/assets
)Beta Was this translation helpful? Give feedback.
All reactions