2013-08-14 1 views

답변

0
location ^~ /path-to-dir {deny all} 

또는

location /path-to-dir { 
auth_basic   "closed site"; 
auth_basic_user_file /full-path-to-htpasswd; 
} 
+0

충분히 확보 auth_basic인가? Google과 같은 검색 봇을 보호하는 방법은 무엇입니까? – Erik

관련 문제