@faketaoist @board
顺带发一下呜呜站目前临时隐藏所有用户的规则
# 允许部分用户
location ~ ^/@(fghrsh|yukina|wxw_moe_status) {
try_files $uri @proxy;
}
location ~ ^/@ {
if ($http_cookie !~* 'remember_user_token') {
return 401;
error_page 401 /err_message_401;
}
try_files $uri @proxy;
}
# 此处 HTML 有省略
location /err_message_401 {
default_type text/html;
return 401 '<!DOCTYPE html>...<h1>The page you are looking for requires a login to access.</h1>...</html>';
}