老男人百科 > 百科 > 正文

配置nginx支持php(www.rsj.sh.gov.cn/spta.shtml)

2023-04-24 01:24:43 阅读( 6456)

在nginx.conf配置文件http里添加:ssion;ssi_silent_errorson;ssi_typestext/shtml;然后保存,重启nginx即可。

在nginx.conf配置文件http中添加以下内容:

ssion; ssi_silent_errorson; ssi_typestext/shtml;

然后保存并重启nginx。

专题页