【kong】基本应用

1.安装

2.基本命令

kong start -c /etc/kong/kong.conf --nginx-conf nginx.conf  // 指定kong 的配置文件 和 nginx 配置文件启动
kong start // 使用默认的配置文件和默认的 nginx 配置文件启动

kong stop // kong 关闭
3. include 其他nginx 命令时,可能会缺少 mime.types 文件,需要从默认安装的 nginx 的conf 下拷贝到 kong 下,否则配置文件出错,页面css 加载失败
Resource interpreted as Stylesheet but transferred with MIME type text/plain


猜你喜欢

转载自blog.csdn.net/lihuapiao/article/details/78685910