【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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章