Update website

This commit is contained in:
Eike Kettner
2020-09-24 00:49:51 +02:00
parent e83483d4a7
commit 030ee6c932
3 changed files with 18 additions and 3 deletions

View File

@ -167,12 +167,18 @@ components. For a joex component, the url must be resolvable from a
REST server component. The REST server also uses this url to create
absolute urls and to configure the authenication cookie.
By default it is build using the information from the `bind` setting.
By default it is build using the information from the `bind` setting,
which is `http://localhost:7880`.
If the default is not changed, docspell will use the login request to
determine the base-url. It first inspects the `X-Forwarded-For` header
that is often used with reverse proxies. If that is not present, the
`Host` header of the request is used. However, if the `base-url`
setting is changed, then only this setting is used.
```
docspell.server.baseurl = ...
docspell.joex.baseurl = ...
docspell.server.base-url = ...
docspell.joex.base-url = ...
```
### Examples