Nginx支持shtml格式方法

  nginx.conf配置文件http里添加:

  ssi on;

  ssi_silent_errors on;

  ssi_types text/shtml;

  然后保存,重启nginx即可。