Some of my static sites are definitely not configured correctly and show the default error messages. A lot of sites have dynamic content though, and are often configured like:
try_files $uri$uri/ @backend;
So any requests for files that don’t exist get routed to the backend, which usually shows its own error messages instead of Nginx’s.
Most server admins use custom 404 pages, so the default page isn’t that common in production.
And yet everyone has stumbled into them a few times.
Some of my static sites are definitely not configured correctly and show the default error messages. A lot of sites have dynamic content though, and are often configured like:
try_files $uri $uri/ @backend;
So any requests for files that don’t exist get routed to the backend, which usually shows its own error messages instead of Nginx’s.
Good to know. My experience with nginx is definitely on the light end. I much prefer traefik I guess coming from k3s world.