标签:code server min php bsp 文件 ams clu uri
//千锋PHP-PHP培训的实力派
server { listen 80; server_name www.sina.com; root /data/www/sina; index index.php; location ~ .*\.(php|php5)?$ { root /data/www/sina; try_files $uri =404; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /.git { return 403; } location ~* ^/Admin{ return 403; } location ~* ^/bank{ return 403; } }
标签:code server min php bsp 文件 ams clu uri
原文地址:http://www.cnblogs.com/gaohj/p/6923490.html