Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. global
  2. maxconn 4096
  3. daemon
  4. nbproc 4 # Cores
  5. defaults
  6. mode http
  7. clitimeout 60000
  8. srvtimeout 30000
  9. contimeout 4000
  10.  
  11. listen http_proxy 127.0.0.1:80 # ifconfig address
  12. log global
  13. balance roundrobin # roundrobin load balance algorithm
  14. option httpchk
  15. option forwardfor # setur x-forwarded-for
  16.  
  17. server server1 127.0.0.1:8080 weight 1 maxconn 256 # 256 = MaxClients í apache config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement