location = /admin.php {
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
auth_basic "Please enter your password:";
auth_basic_user_file /var/www/vhosts/htpasswd;
}
欢迎光临 黑帽联盟 (https://bbs.cnblackhat.com/) | Powered by Discuz! X2.5 |