Use an internal url for the rest server to register for messages

This commit is contained in:
eikek
2021-11-17 21:27:26 +01:00
parent 11c60e4bda
commit 13f28f753a
3 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,12 @@ docspell.server {
# to some other value, the request is not inspected.
base-url = "http://localhost:7880"
# This url is the base url for reaching this server internally.
# While you might set `base-url` to some external address (like
# mydocs.myserver.com), the `internal-url` must be set such that
# other nodes can reach this server.
internal-url = "http://localhost:7880"
# Where the server binds to.
bind {
address = "localhost"