Skip to content

Instantly share code, notes, and snippets.

@dhrrgn
Created September 10, 2014 17:23
Show Gist options
  • Save dhrrgn/6d3331b3cd7bef0aae66 to your computer and use it in GitHub Desktop.
Save dhrrgn/6d3331b3cd7bef0aae66 to your computer and use it in GitHub Desktop.
# Stuff up here
frontend incoming
acl secure dst_port 443
acl foo_host hdr(host) -i foo.com
redirect scheme https if foo_host !secure
# Stuff down here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment