Nginx配置PHP站点隔离(防止跨站) 0 Nginx配置PHP站点隔离(防止跨站) Blogger 五月 11, 2020 0 nginx的conf配置中,在 location ~ .php$ 区块中加入:fastcgi_param PHP_VALUE "open_basedir=$document_root:/tmp/:/proc/"; 评论