Advertisement
Guest User

haproxy-config-redirection

a guest
Jun 19th, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. frontend http_front
  2. bind *:80
  3. redirect scheme https code 301 if !{ ssl_fc }
  4.  
  5. frontend https_front
  6. bind *:443
  7. mode tcp
  8. option tcplog
  9. default_backend https_back
  10.  
  11. backend https_back
  12. mode tcp
  13. balance roundrobin
  14. server kworker1 <kworker1-ip>:443
  15. server kworker2 <kworker2-ip>:443
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement