Remove "mode http"

This setting is by default in the configuration files in the "default" section, so we don't need to add it here ! ( If someone uses the tcp mode or else he sure knows how haproxy works ! )
master
Jonas L 8 years ago committed by GitHub
parent 464e2825d5
commit e2e4dd655d
  1. 3
      documentation/PROXY.md

@ -104,9 +104,6 @@ redirection):
```haproxy ```haproxy
frontend https frontend https
# Make sure that we are in HTTP mode so that we can rewrite headers
mode http
# Listen on the HTTPS and HTTP ports # Listen on the HTTPS and HTTP ports
bind :80 bind :80
bind :443 ssl crt /etc/haproxy/cert_key.pem bind :443 ssl crt /etc/haproxy/cert_key.pem

Loading…
Cancel
Save