I have resolved my problem, HAproxy do start now (ssl ok).
But when trying to reach my email server, I now do have a:
400 Bad gateway - The plain HTTP request was sent to HTTPS port - Nginx
It should not be the case because 'reqadd x-forwarded-proto:\ https' suppose to correct this ?? And with 'redirect scheme https if !{ ssl_fc }' it should be 100% full HTTPS.
frontend email-https
bind *:444 ssl crt /etc/ssl/private/full_certs.crt
reqadd X-Forwarded-Proto:\ https
default_backend https-email
backend https-email
redirect scheme https if !{ ssl_fc }
server email_hostname ip_email_server:888
Thx
Le jeudi 12 janvier 2017 à 14:44:19, vous écriviez :
Re-adding the list. And:
Yes. Though I am not sure what file.crt and file.pem are :) |
Cheers, Daniel -- Daniel Schneller Principal Cloud Engineer CenterDevice GmbH | Hochstraße 11 | 42697 Solingen tel: +49 1754155711 | Deutschland daniel.schnel...@centerdevice.de | www.centerdevice.de Geschäftsführung: Dr. Patrick Peschlow, Dr. Lukas Pustina, Michael Rosbach, Handelsregister-Nr.: HRB 18655, HR-Gericht: Bonn, USt-IdNr.: DE-815299431
|
--
Cordialement,
Thierry e-mail : lenai...@maelenn.org