Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

How redirect https://www.example.com to docker container

$
0
0

Hello , i am new to haproxy and i tried this configuration to redirect https://example.com to my docker host . but when i try i get error of “Secure Connection Failed SL_ERROR_RX_RECORD_TOO_LONG” in bowser.

frontend http
  bind *:443
  mode http
  option httplog
  timeout connect 5000
  timeout client  50000
  timeout server  50000
  acl exampleDomain hdr(host) -i www.example.com

  use_backend exampleSite if exampleDomain
  default_backend exampleSite

backend exampleSite
  mode http
  server website 0.0.0.0:85 check

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>