Welcome! Log In Create A New Profile

Advanced

Haproxy ssl with nginx backend problem.....

Posted by 何智声 
何智声
Haproxy ssl with nginx backend problem.....
March 16, 2017 09:30AM
at first thank you read this email,and you help!
i have problem for haproxy settings,
this is my haproxy.cfg settings

frontend
[image: 内嵌图片 3]
backend
[image: 内嵌图片 2]
[image: 内嵌图片 1]
what happen on it and how to fix this error..thank you!!!
Attachments:
open | download - image.png (161.3 KB)
open | download - image.png (26.5 KB)
open | download - image.png (73.9 KB)
Pavlos Parissis
Re: Haproxy ssl with nginx backend problem.....
March 16, 2017 01:20PM
On 16/03/2017 09:21 πμ, 何智声 wrote:
> at first thank you read this email,and you help!
> i have problem for haproxy settings,
> this is my haproxy.cfg settings
>
> frontend
> 内嵌图片 3
> backend
> 内嵌图片 2
> 内嵌图片 1
> what happen on it and how to fix this error..thank you!!!


I am sorry but I can't clearly read the images you attached.
Could you please send the traces and config in cleat txt format?

Cheers,
Pavlos
Cyril Bonté
Re: Haproxy ssl with nginx backend problem.....
March 16, 2017 02:20PM
Hi,

> De: "何智声" <[email protected]>
> À: haproxy@formilux.org
> Envoyé: Jeudi 16 Mars 2017 09:21:59
> Objet: Haproxy ssl with nginx backend problem.....
>
>
> at first thank you read this email,and you help!
> i have problem for haproxy settings,
> this is my haproxy.cfg settings
>
>
> frontend
> 内嵌图片 3
>
> backend
> 内嵌图片 2

I won't spend more type on png captures, but have you noticed the typo in the second "http-request set-header ?
http-request set-header X-Forwarded-Port https if { ssl_fc }

You probably wanted to set X-Forwarded-Proto instead ?

>
> 内嵌图片 1
>
> what happen on it and how to fix this error..thank you!!!
Sorry, only registered users may post in this forum.

Click here to login