location ~* ^/test* { auth_basic "Authorization"; auth_basic_user_file /www/site/pass/ceshi.pass ; }