-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
listen: # node listen port | ||
- 8099 | ||
version: 2 | ||
#certificate: # 证书存放根目录 | ||
# dir: /etc/apinto/cert | ||
client: | ||
#advertise_urls: # open api 服务的广播地址 | ||
#- http://127.0.0.1:9400 | ||
listen_urls: # open api 服务的监听地址 | ||
- http://0.0.0.0:9400 | ||
#certificate: # 证书配置,允许使用ip的自签证书 | ||
# - cert: server.pem | ||
# key: server.key | ||
gateway: | ||
#advertise_urls: # 转发服务的广播地址 | ||
#- http://127.0.0.1:9400 | ||
listen_urls: # 转发服务的监听地址 | ||
- https://0.0.0.0:8099 | ||
- http://0.0.0.0:8099 | ||
peer: # 集群间节点通信配置信息 | ||
listen_urls: # 节点监听地址 | ||
- http://0.0.0.0:9401 | ||
#advertise_urls: # 节点通信广播地址 | ||
#- http://127.0.0.1:9400 | ||
#certificate: # 证书配置,允许使用ip的自签证书 | ||
# - cert: server.pem | ||
# key: server.key | ||
|
||
admin: # openAPI request info | ||
scheme: http # listen scheme | ||
listen: 9400 # listen port | ||
ip: 0.0.0.0 # listen ip | ||
#ssl: | ||
# listen: | ||
# - port: 443 #https端口 | ||
# certificate: # 不配表示使用所有 cert_dir中的证书,默认pem文件后缀为pem,key后缀为key | ||
# - cert: cert.pem | ||
# key: cert.key | ||
#certificate: | ||
# dir: ./cert # 证书文件目录,不填则默认从cert目录下载 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters