Guest User

Untitled

a guest
Jun 19th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. tune.ssl.default-dh-param 2048
  2. ssl-server-verify none
  3.  
  4. stats socket /var/lib/haproxy/stats
  5.  
  6. defaults
  7. mode http
  8. log global
  9. option httplog
  10. option dontlognull
  11. option http-server-close
  12. option forwardfor except 127.0.0.0/8
  13. option redispatch
  14. retries 3
  15. timeout http-request 10s
  16. timeout queue 1m
  17. timeout connect 10s
  18. timeout client 1m
  19. timeout server 1m
  20. timeout http-keep-alive 10s
  21. timeout check 10s
  22. maxconn 3000
  23.  
  24. frontend http-in
  25. bind 192.168.0.89:80
  26. rspadd X-Forwarded-Host: http:\potpis.corp
  27. redirect scheme https code 301 if !{ ssl_fc }
  28.  
  29. frontend https-in
  30. mode tcp
  31. bind 192.168.97.0:443 ssl crt /etc/ssl/certs/potpis.cer ca-file /etc/ssl/certs/hr_sca.pem verify required
  32. rspadd X-Forwarded-Host: https:\potpis.corp
  33. rspadd Strict-Transport-Security: max-age=31536000
  34.  
  35. default_backend moodle
  36.  
  37. backend moodle
  38. mode tcp
  39. server backend server1.1.1.1:443 ssl
Add Comment
Please, Sign In to add comment