Welcome! Log In Create A New Profile

Advanced

Re: Nginx and 400 SSL error handling

Marcello Lorenzi
June 12, 2019 10:30AM
Hi,
It works correctly. Thanks for the tips.

Marcello

On Tue, Jun 11, 2019 at 10:46 AM Francis Daly <francis@daoine.org> wrote:

> On Tue, Jun 11, 2019 at 10:25:32AM +0200, Marcello Lorenzi wrote:
>
> Hi there,
>
> > 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
>
> http://nginx.org/r/error_page
>
> shows that you can add another argument with "=" to set the response code,
> or to change to the response code that the uri returns.
>
> Cheers,
>
> f
> --
> Francis Daly francis@daoine.org
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx and 400 SSL error handling

Marcello Lorenzi June 11, 2019 04:26AM

Re: Nginx and 400 SSL error handling

Francis Daly June 11, 2019 04:48AM

Re: Nginx and 400 SSL error handling

Marcello Lorenzi June 12, 2019 10:30AM

Re: Nginx and 400 SSL error handling

fostercarly November 01, 2022 01:28AM

Re: Nginx and 400 SSL error handling

romankris May 01, 2023 02:27AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready