nginx error pages and CORS
peter.volkov at gmail.com
Mon Oct 18 13:18:22 UTC 2021
Hi, any ideas here?
On Wed, Oct 13, 2021 at 1:12 PM Peter Volkov <peter.volkov at gmail.com> wrote:
> 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