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 ! )
This commit is contained in:
@@ -104,9 +104,6 @@ redirection):
|
||||
```haproxy
|
||||
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
|
||||
bind :80
|
||||
bind :443 ssl crt /etc/haproxy/cert_key.pem
|
||||
|
||||
Reference in New Issue
Block a user