error_page custom 404 page

Marcello Lorenzi cello86 at gmail.com
Wed Jun 12 13:47:52 UTC 2024


Hi all,
I tried to configure an error_page to a specific react 404 page defined by
our development group and the configuration was:

error_page 404 =404 https://$host/404/;

We noticed that the client receives a 302 code from the initial page to the
404 page and the 404 page gives a 200 code. Into the access_log we can't
identify the 404 errors.

Can you help us to identify a possible configuration to cover the 404 pages
into the access_log?

Thanks,
Marcello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freenginx.org/pipermail/nginx/attachments/20240612/4cd8fe54/attachment.htm>


More information about the nginx mailing list