Created
August 29, 2017 13:59
-
-
Save smakhtin/304045fe79d799348aee0e741e537965 to your computer and use it in GitHub Desktop.
Haproxy redirect from 80 to 443
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend http-frontend | |
bind *:80 | |
mode http | |
redirect scheme https code 301 if !{ ssl_fc } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment