Welcome! Log In Create A New Profile

Advanced

nginx error pages and CORS

pva
October 13, 2021 06:12AM
Hi.

We use Nginx as a reverse proxy for our service that manages CORS by
itself. Yet we have problems with errors that Nginx generates itself, e.g.
413 Request Entity Too Large. Such error pages has no CORS headers and this
causes browsers to report the CORS issue, and thus the user does not see
the real reason for this problem. So we would like to add permissive CORS
headers to all error pages that Nginx generates. Does there exist such a
list of error codes that Nginx generates? Like wrong headers, bad requests,
whatever?

Thanks in advance for your help,
--
Peter.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx error pages and CORS

pva October 13, 2021 06:12AM

Re: nginx error pages and CORS

pva October 18, 2021 09:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready