Created
September 3, 2019 18:17
-
-
Save aleguerra05/1ba73e628cba63dab53bf264fdd077ce to your computer and use it in GitHub Desktop.
redirect port 80 to 443 (ssl)
This file contains hidden or 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 80 | |
acl lepath path_beg -i /.well-known/acme-challenge | |
acl lepath path_beg -i /rancher | |
redirect scheme https code 302 if !lepath !{ ssl_fc } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment