Allow specifying address and listen host/port separately. Fixes #160

This commit is contained in:
Tulir Asokan
2018-07-12 22:59:17 +03:00
parent 042d89cf65
commit 1d9455f639
2 changed files with 12 additions and 10 deletions
+4 -5
View File
@@ -11,12 +11,11 @@ homeserver:
# Application service host/registration related details
# Changing these values requires regeneration of the registration.
appservice:
# The protocol the homeserver should use when connecting to this appservice.
# Usually "http" or "https".
protocol: http
# The address that the homeserver can use to connect to this appservice.
address: http://localhost:8080
# The hostname and port where the homeserver can find this appservice.
hostname: localhost
# The hostname and port where this appservice should listen.
hostname: 0.0.0.0
port: 8080
# The full URI to the database.