首頁  >  問答  >  主體

前端 - nginx裡面怎麼設定支援127.0.0.1:82下 html檔案支援include

開發過程存取127.0.0.1:82下存取html靜態文件,怎麼在nginx裡面配置支援html的include

ringa_leeringa_lee2713 天前1015

全部回覆(1)我來回復

  • 黄舟

    黄舟2017-05-16 17:18:06

    這個特性是ssi的事情:

        location / {
            ssi on;
            ...
        }

    http://nginx.org/en/docs/http/ngx_http_ssi_module.html

    回覆
    0
  • 取消回覆