码迷,mamicode.com
首页 > 其他好文 > 详细

8-Kong和Consul如何结合

时间:2019-12-25 19:01:40      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:rds   xxxxxx   repo   xxxxx   min   nec   文件中   live   ror   

如下配置文件中

# cat /etc/kong/kong.conf | sed ‘s#\s*##‘ | grep -v ‘^#‘ | grep -v ‘^$‘
anonymous_reports = off         # Send anonymous usage data such as error
upstream_keepalive = 1         # Sets the maximum number of idle keepalive
database = postgres             # Determines which of PostgreSQL or Cassandra
pg_host = rm-xxxxxxxxxxx.pg.rds.aliyuncs.com
pg_port = 3433                  # The port to connect to.
pg_user = kong                  # The username to authenticate if required.
pg_password = xxxxxxxx                 # The password to authenticate if required.
pg_database = kong              # The database name to connect to.
dns_resolver = 127.0.0.1:8600					 # the local `resolv.conf` file will be used.
dns_order = SRV,A,CNAME    # The order in which to resolve different

  

8-Kong和Consul如何结合

标签:rds   xxxxxx   repo   xxxxx   min   nec   文件中   live   ror   

原文地址:https://www.cnblogs.com/robinunix/p/12098389.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!