nginx 搭建靜態網站

將網站資源放在已安裝好的nginx html子目錄下,打開conf 目錄下的nginx.conf 配置文件 新增一條location  /網站目錄 {                      root   /html/網站目錄;                      index    index.html;                }  
相關文章
相關標籤/搜索