
我想將 Nginx 中的一個特定網址重新導向為“未找到”或“隱藏”
網址:/wp-admin/load-scripts.php?c=1&load[]=jquery-effects-blind
原因:https://hackerone.com/reports/925425
我在 nginx.conf 中的程式碼是,它不起作用:(
server {
listen 80 default_server;
server_name _;
location ~ load-scripts\.php|load-styles\.php {
deny all;
}
}