其他分享
首页 > 其他分享> > kong.conf

kong.conf

作者:互联网

proxy_access_log = /usr/local/kong/logs/access.log
proxy_error_log = /usr/local/kong/logs/error.log
admin_access_log = /usr/local/kong/logs/admin_access.log
admin_error_log = /usr/local/kong/logs/admin_error.log
status_error_log = /usr/local/kong/logs/status_error.log
nginx_user = kong kong
ssl_cert = /etc/kong/xxxx.com.pem #域名证书
ssl_cert_key = /etc/kong/xxxx.com.key #域名证书
client_max_body_size = 30m
client_body_buffer_size = 30M
nginx_proxy_proxy_temp_file_write_size = 512k
nginx_proxy_proxy_buffer_size = 64k
nginx_proxy_proxy_buffers = 64 64k
nginx_proxy_proxy_busy_buffers_size = 2m
nginx_http_client_header_buffer_size = 1m
database = postgres
pg_host = 数据库IP地址
pg_port = 5432
pg_user = 用户名
pg_password = 密码
pg_database = 数据库名称
proxy_listen = 0.0.0.0:8000, 0.0.0.0:8443 ssl
admin_listen = 0.0.0.0:8001, 0.0.0.0:8444 ssl
lua_package_path =/usr/local/share/lua/5.1/kong/plugins/?.lua
plugins = bundled

标签:0.0,kong,proxy,usr,conf,local,size
来源: https://www.cnblogs.com/hm1825/p/16470727.html