Re: help for configuration between http and tcp mode

2017-07-09 Thread M
Hi, > > Because your Host header is certainly "influxdb-drp.example.net:8086", not > "influxdb-drp.example.net". You can verify this with this acl instead : > acl host_influxdb-drp.example.net hdr(host) -i influxdb-drp.example.net:8086 > > Or you can even capture the header in your logs, it's

Re: help for configuration between http and tcp mode

2017-07-09 Thread Cyril Bonté
Hi, Le 09/07/2017 à 17:58, M a écrit : Hi, It seems the error is related to acl and I don’t yet understand why > [...] frontend https_influxdb bind 192.168.246.17:8086 ssl crt /data/ssl_certs no-sslv3 ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA

Re: help for configuration between http and tcp mode

2017-07-09 Thread M
Hi, It seems the error is related to acl and I don’t yet understand why. I have done additional tests with configuration: ——— frontend https bind 0.0.0.0:443 ssl crt /data/ssl_certs no-sslv3 ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA

Re: help for configuration between http and tcp mode

2017-07-08 Thread Andrew Smalley
Hello M Looking at your configuration you are trying to use HTTPS/TCP/SSL Connection for HTTP frontend https_influxdb bind 192.168.246.17:8086 ssl crt /data/ssl_certs no-sslv3 ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256: ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:E

help for configuration between http and tcp mode

2017-07-08 Thread M
Hi, I don't understand why http mode is no able provide a backend server whereas at same time tcp mode is able to do it. I am trying to setup Haproxy in front of an Influxdb database running on HTTPS. When frontend is configured on http mode, requests are failing with NOSRV error. When fronted