Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. acl is_domain hdr(host) -i www.somesomaine.fr
  2.  
  3. http-request add-header X-Forwarded-Proto https if { ssl_fc }
  4. redirect prefix https://somesomaine.fr code 302 if is_domain
  5. http-request redirect code 302 prefix https://%[req.hdr(Host)] unless { ssl_fc }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement