Hi Sébastien,
hope you're doing well.
Thanks for the question.
On Wed, Apr 23, 2025 at 12:07:21PM +0200, Sébastien Rebecchi via nginx wrote:
> backup, meaning NGINX will only use them if all primary servers fail.
>
> In my case, I have some servers running over HTTP and would like to
> configure
Alternative approach would be to use error_page to catch the 5xx response (502
I think)
when there are no available upstream servers and then, from a named location,
proxy_pass
with HTTPS to the same upstream group.
Modifying the original sample config below.
There is a blog post for similar use
Hello,
I understand that within an upstream block, some servers can be marked as
backup, meaning NGINX will only use them if all primary servers fail.
In my case, I have some servers running over HTTP and would like to
configure HTTPS servers as backups. However, since an upstream can only use
on
Hi Sergey, Liam!
Thank you for your answers, they are really helpful!
I did not think of such kinds of solutions, they should both work fine for
my use case.
Have a great day
Sébastien
Le mer. 23 avr. 2025 à 15:44, Liam Crilly via nginx a
écrit :
> Alternative approach would be to use error_p
Changes with nginx 1.28.023 Apr 2025
*) 1.28.x stable branch.
*) Bugfix: nginx could not be built by gcc 15 if ngx_http_v2_module or
ngx_http_v3_module modules were used.
*) Bugfix: nginx might not be built by gcc 14 or newer with -O3 -f