-
-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Hello and thank you for any help in advance.
I have installed etebase on a Linux Ubuntu server 22 with apache reverse proxy. In the apache's configuration file I am forcing the Host header to the public domain name of the server with
RequestHeader set Host server-domain-name.com
The etebase server also serves via https and it works well locally when the [allowed hosts] in the ini
allows for all hosts (*). This however was giving an HTTP 400 error when tried to log in using the android app remotely (expected locahost). After reading in some other posts that the [allowed hosts] needs to be filled in the ini
file, I did so with no luck. I have added multiple combination of the host using allowed_host1
, allowed_host2
, etc, but no matter what combination I put (host, host:port (not serving via 443), etc) I get the same error:
Invalid Host Header
I even put the hosts directly into the settings.py
thinking that the parser may not work properly because after turning the debug mode on and then off in the ini
, the settings.py
still had the debug mode set to True and I manually changed it to False.
Any advice with the Invalid Host Header
is appreciated.