in this case what is the internal
doing inside the Location block
error_page 404 /custom_404.html;
location = /custom_404.html {
root /usr/share/nginx/html;
internal;
}
Many thanks and great community!