摘要:
示例:把http://example.com/old.php?para=xxx 重定向到 http://example.com/new 不去参数: 写法:rewrite ^/old.php(.*) /new permanent; 结果:http://example.com/new?para=xxx 阅读全文
posted @ 2021-05-14 17:03
加菲猫and大白
阅读(108)
评论(0)
推荐(0)
摘要:
修改php-fpm.conf security.limit_extensions = .php .html 查看php-fpm.conf内listen,如果是端口则nginx.conf server内容为 location ~ \.php|\.html(.*)$ { fastcgi_pass 127 阅读全文
posted @ 2021-05-14 16:09
加菲猫and大白
阅读(1033)
评论(0)
推荐(0)

浙公网安备 33010602011771号