Jasmin shahrzad
asked on
stop wp*
i have following in my nginx to return 404
location ^~ /wp { return 404; }
how to return 404 for wp and combination like wp-includ, wp-admin, wp...
how to say wp* in expression?
location ^~ /wp { return 404; }
how to return 404 for wp and combination like wp-includ, wp-admin, wp...
how to say wp* in expression?
location ~ /wp.* { return 404; }
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.