我有一个非常古老的网站,我想尝试在NGINX而不是Apache上运行。 这个网站包含许多带有零星PHP SSI的平面HTML文件,比如:
<!--#include virtual="/some_file.php" -->
NGINX HttpSsiModule在dynamic时如何处理这些问题? 在模块文档中,它说:
The distinction between "file" and "virtual" is mostly historical. "file" is the same as "virtual" with implied "wait" option.
这并不涉及我应该如何configurationPHP执行。 使用上面的#include ,这意味着我应该设置一个匹配/some_file.php的location ,并且configuration为fastcgi到php-fpm(或其他类似的东西)?