Support for reverse proxy base_url #468
Replies: 2 comments
-
I would really need this feature. |
Beta Was this translation helpful? Give feedback.
-
Would love this to be added in, I'm in a bit of a subdomain hell at the moment with a lot of services that need it, being able to put this into a subfolder with a reverse proxy would be great. |
Beta Was this translation helpful? Give feedback.
-
🏷️ 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