diff options
author | Pierre-Alain TORET <pierre-alain.toret@protonmail.com> | 2018-04-17 11:14:32 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-17 11:14:32 +0200 |
commit | cff8b272b1631661b8d5f5f4b59bd534ad8c86ca (patch) | |
tree | 465cb9a49289e3695d60917f02974afd16799b27 /config | |
parent | c0c7416a233d1bf1ed197b8f383aca74bc27c3f0 (diff) | |
download | PeerTube-cff8b272b1631661b8d5f5f4b59bd534ad8c86ca.tar.gz PeerTube-cff8b272b1631661b8d5f5f4b59bd534ad8c86ca.tar.zst PeerTube-cff8b272b1631661b8d5f5f4b59bd534ad8c86ca.zip |
Support hostname binding in config
* Add basic support for hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make production example a bit more secure
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make example config files compatible with hostname binding modification
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Fix typo
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Bind on 127.0.0.1 by default
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Update Docker configuration with hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 1 | ||||
-rw-r--r-- | config/production.yaml.example | 1 |
2 files changed, 2 insertions, 0 deletions
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 @@ | |||
1 | listen: | 1 | listen: |
2 | hostname: '127.0.0.1' | ||
2 | port: 9000 | 3 | port: 9000 |
3 | 4 | ||
4 | webserver: | 5 | 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 @@ | |||
1 | listen: | 1 | listen: |
2 | hostname: 'localhost' | ||
2 | port: 9000 | 3 | port: 9000 |
3 | 4 | ||
4 | # Correspond to your reverse proxy "listen" configuration | 5 | # Correspond to your reverse proxy "listen" configuration |