From cff8b272b1631661b8d5f5f4b59bd534ad8c86ca Mon Sep 17 00:00:00 2001 From: Pierre-Alain TORET Date: Tue, 17 Apr 2018 11:14:32 +0200 Subject: Support hostname binding in config * Add basic support for hostname binding Signed-off-by: Pierre-Alain TORET * Make production example a bit more secure Signed-off-by: Pierre-Alain TORET * Make example config files compatible with hostname binding modification Signed-off-by: Pierre-Alain TORET * Fix typo Signed-off-by: Pierre-Alain TORET * Bind on 127.0.0.1 by default Signed-off-by: Pierre-Alain TORET * Update Docker configuration with hostname binding Signed-off-by: Pierre-Alain TORET --- config/default.yaml | 1 + config/production.yaml.example | 1 + 2 files changed, 2 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index bf772faf6..9f4a76621 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -1,4 +1,5 @@ listen: + hostname: '127.0.0.1' port: 9000 webserver: diff --git a/config/production.yaml.example b/config/production.yaml.example index c963118d9..fc06c51fb 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -1,4 +1,5 @@ listen: + hostname: 'localhost' port: 9000 # Correspond to your reverse proxy "listen" configuration -- cgit v1.2.3