Kann ich in Nginx für WordPress eine bestimmte URL umleiten?

Kann ich in Nginx für WordPress eine bestimmte URL umleiten?

Ich möchte eine bestimmte URL in Nginx auf „nicht gefunden“ oder „versteckt“ umleiten.

URL: /wp-admin/load-scripts.php?c=1&load[]=jquery-effects-blind

Grund:https://hackerone.com/reports/925425

meine Codes in nginx.conf sind, es funktioniert nicht :(

server {
    listen 80 default_server;
    server_name _;
    location ~ load-scripts\.php|load-styles\.php {
        deny all;
    }
}

verwandte Informationen