I'm trying to get 403 responses to be exactly identical to 404 ones.
Not sure if there's a proper way to do it, but setting
error_page 403 404
is my current method.
Which works, but it rewrites the url to mysite.com/404
for 403's
while regular 404's leave the url alone.
Oh and I don't have any 4XX custom pages set up and I deleted the default nginx one.