Skip to content

Commit bb4a8c9

Browse files
authored
README: updateinformation about passing the Host header
As mentioned in #75 (comment)
1 parent 5792cd5 commit bb4a8c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There is also a [wikipage](https://github.com/etesync/server/wiki/Basic-Setup-Et
4343
Some particular settings that should be edited are:
4444
* [`ALLOWED_HOSTS`](https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-ALLOWED_HOSTS)
4545
-- this is the list of host/domain names or addresses on which the app
46-
will be served
46+
will be served. For example: `etebase.example.com`
4747
* [`DEBUG`](https://docs.djangoproject.com/en/dev/ref/settings/#debug)
4848
-- handy for debugging, set to `False` for production
4949
* [`MEDIA_ROOT`](https://docs.djangoproject.com/en/dev/ref/settings/#media-root)
@@ -78,6 +78,8 @@ Etebase is based on Django so you should refer to one of the following
7878
The webserver should also be configured to serve Etebase using TLS.
7979
A guide for doing so can be found in the [wiki](https://github.com/etesync/server/wiki/Setup-HTTPS-for-Etebase) as well.
8080

81+
The Etebase server needs to be aware of the URL it's been served as, so make sure to forward the `Host` header to the server if using a reverse proxy. For example, you would need to use the following directive in nginx: `proxy_set_header Host $host;`.
82+
8183
# Data locations and backups
8284

8385
The server stores user data in two different locations that need to be backed up:

0 commit comments

Comments
 (0)