Skip to content

Homebox creates and immediately clears auth cookie resulting in logout when connecting via https://domain using reverse proxy #458

Answered by stamonty
stamonty asked this question in Support
Discussion options

You must be logged in to vote

Many thanks for the config listing! I've managed to figure it out just before I've seen your reply.
In order to make it work at least proxy_set_header Host "homebox.domain.example" and ProxyPreserveHost Off must be defined.

My reverse proxy is build in the router's firmware so it is a bit of a blackbox in terms of seen the whole config listing, but it has a couple of CLI options, setting host, X-Real-IP and X-Forwarded-For headers among them.

Would be glad if Homebox dev team could include such reverse proxy config example in the official docs. I believe it'll save many hours spent on debugging the issue.

Basically it is frontend configuration issue. I assume host should be configurable v…

Replies: 12 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@katosdev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stamonty
Comment options

Answer selected by tankerkiller125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕷️ bug Something isn't working ❓ question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #454 on January 10, 2025 14:33.