Skip to content

Commit

Permalink
docker: fix haproxy to pass host header check
Browse files Browse the repository at this point in the history
lnielsen committed Jul 26, 2019
1 parent b86e030 commit 3a99f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_shortname}}/docker/haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
@@ -44,13 +44,13 @@ backend ssl_app
http-check disable-on-404
option http-server-close
option forwardfor except 127.0.0.0/8
option httpchk HEAD /ping HTTP/1.0
option httpchk HEAD /ping HTTP/1.1\r\nHost:\ localhost
server web1 frontend:443 check check-ssl fall 2 inter 20000 maxconn 30 rise 1 ssl verify none weight 2

backend ssl_static
balance leastconn
http-check disable-on-404
option http-server-close
option forwardfor except 127.0.0.0/8
option httpchk HEAD /ping HTTP/1.0
option httpchk HEAD /ping HTTP/1.1\r\nHost:\ localhost
server web1 frontend:443 check check-ssl fall 2 inter 5000 maxconn 255 rise 1 ssl verify none weight 2

0 comments on commit 3a99f84

Please sign in to comment.