docs(config): add bind address doc. (#264)

This commit is contained in:
Bo-Yi Wu 2017-07-31 16:37:56 +08:00 committed by GitHub
parent a714d03e2c
commit 83d155bade
2 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ See the [YAML config example](config/config.yml):
```yaml ```yaml
core: core:
enabled: true # enabale httpd server enabled: true # enabale httpd server
address: "" # ip address to bind (default: any)
port: "8088" # ignore this port number if auto_tls is enabled (listen 443). port: "8088" # ignore this port number if auto_tls is enabled (listen 443).
worker_num: 0 # default worker number is runtime.NumCPU() worker_num: 0 # default worker number is runtime.NumCPU()
queue_num: 0 # default queue number is 8192 queue_num: 0 # default queue number is 8192

View File

@ -1,5 +1,6 @@
core: core:
enabled: true # enabale httpd server enabled: true # enabale httpd server
address: "" # ip address to bind (default: any)
port: "8088" # ignore this port number if auto_tls is enabled (listen 443). port: "8088" # ignore this port number if auto_tls is enabled (listen 443).
worker_num: 0 # default worker number is runtime.NumCPU() worker_num: 0 # default worker number is runtime.NumCPU()
queue_num: 0 # default queue number is 8192 queue_num: 0 # default queue number is 8192