ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
5.45k stars 252 forks source link

Dashboard selection depending on Host-Header #2046

Closed aponert closed 1 month ago

aponert commented 1 month ago

Description

Hello,

let me first introduce my motivation for this feature request. I'm using a Zero-Trust proxy that protects my services from outside. These services are available via servicename.services.mydomain.com. Homarr is available as dashboard.services.mydomain.com. This is a dashboard so I don't need to remember which services are available.

I want the same Homarr instance to show a different dashboard, when I access it over my internal home domain. This is most easily accomplished by reading the Host-Header and make it possible to tell Homarr to set the default dashboard depending on which Host-Header is set.

Priority

Medium (Would be very useful)

github-actions[bot] commented 1 month ago

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

manuel-rw commented 1 month ago

Hi, proxiing requests is not the intended function of Homarr. Features like these are bad to implement because they rely on very specific edge cases and network structures. It brings value to a very small group of power users.

I would suggest you to configure your proxy to redirect external requests differently or use different accounts.

@ajnart / @Meierschlumpf do you agree with my statement?

Meierschlumpf commented 1 month ago

Yes agree, this is a very specific use case that we will not support first party