nginx error pages and CORS
peter.volkov at gmail.com
Wed Oct 13 10:12:34 UTC 2021
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,
Thanks in advance for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx