Nginx and 400 SSL error handling
francis at daoine.org
Tue Jun 11 08:46:13 UTC 2019
On Tue, Jun 11, 2019 at 10:25:32AM +0200, Marcello Lorenzi wrote:
> Actually we would return a 401 error page instead a 400 error page but we
> aren’t able to customize the HTTP code but only the message reported with
> this configuration.
> error_page 495 @error_ssl_495;
Untested by me here, but
shows that you can add another argument with "=" to set the response code,
or to change to the response code that the uri returns.
Francis Daly francis at daoine.org
More information about the nginx