caddy和php-fpm这样配置可以吗 php_fastcgi php9000 #伪静态设置 rewrite if path not_match ^public to path path indexphpquery
可以的。这个配置将把所有匹配 /public 的请求直接传递给 PHP FastCGI 进程监听的 9000 端口,而对于其他请求,它将使用 Rewrite 规则将它们传递给 index.php 文件处理。
原文地址: https://www.cveoy.top/t/topic/eCXH 著作权归作者所有。请勿转载和采集!