You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theini
file, I did so with no luck. I have added multiple combination of the host usingallowed_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 theini
, thesettings.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.The text was updated successfully, but these errors were encountered: