頁面靜態化(openresty,lua)

打開openresty,啓動nginx.exe 啓動成功! 打開openresty==>conf==>nginx.conf 讀取lua.conf 看看lua.conf 裏面的配置 第一個是設置緩存大小 第二個端口號 第三個 #first match ngx location(首先匹配位置) #then match root read file(其次匹配位置) 第四個路徑,去讀取絕對路徑的lua 文
相關文章
相關標籤/搜索