I use the nginx config file from https://www.nginx.com/resources/wiki/start/topics/recipes/drupal/
It has return 403 and deny all on some file.
Ex. When I visit
/core/CHANGELOG.txt, nginx returns default 403 Forbidden page.
I want it to display drupal 403 error page not nginx white default 403 page.
I have tried adding
error_page 403 /403 but it returns
The requested URL "http://mysite/core/CHANGELOG.txt" was not found on this server.