本帖最后由 budogf 于 2021-8-16 09:19 编辑
搞定了
- location ^~ /123.php {
- if ($args ~ id=) {
- return 404;
- }
- try_files $uri = 404;
- fastcgi_pass unix:/tmp/php-cgi-73.sock;
- fastcgi_index index.php;
- include fastcgi.conf;
- include pathinfo.conf;
- }
复制代码
写在站点管理中的伪静态
不知道这样的写法有无什么不好的地方?请指示
|