docs(config): add bind address doc. (#264)
This commit is contained in:
parent
a714d03e2c
commit
83d155bade
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue