昨天在申請百度閉站保護時,一直不通過。提示全站不是404,無法閉站。
可用下面代碼可實現。把下面代碼放到偽靜態配置里面即可
location / {
#root html;
#index index.html index.htm;
return 404;
}
昨天在申請百度閉站保護時,一直不通過。提示全站不是404,無法閉站。
可用下面代碼可實現。把下面代碼放到偽靜態配置里面即可
location / {
#root html;
#index index.html index.htm;
return 404;
}