I want to redirect one specific url in Nginx to 'not found' or 'hidden'
url: /wp-admin/load-scripts.php?c=1&load[]=jquery-effects-blind
reason: https://hackerone.com/reports/925425
my codes in nginx.conf are, it's not working :(
server {
listen 80 default_server;
server_name _;
location ~ load-scripts\.php|load-styles\.php {
deny all;
}
}