Willy Tarreau | d3cff72 | 2011-03-04 15:46:16 +0100 | [diff] [blame] | 1 | global |
| 2 | maxconn 200 |
| 3 | #debug |
| 4 | #daemon |
| 5 | |
| 6 | defaults |
| 7 | mode http |
| 8 | contimeout 50s |
| 9 | clitimeout 50s |
| 10 | srvtimeout 50s |
| 11 | |
| 12 | frontend b11 :11000,:11001 |
| 13 | |
| 14 | frontend b12 :12000-12009,:12020-12029 |
| 15 | |
| 16 | #frontend b13 ::13000,::13001 |
| 17 | |
| 18 | frontend b14 :::14000,:::14001 |
| 19 | |
| 20 | frontend b15 *:15000,*:15001 |
| 21 | |
| 22 | frontend b16 0.0.0.0:16000,0.0.0.0:16001 |
| 23 | |
| 24 | listen l21 |
| 25 | bind :21000,:21001 |
| 26 | |
| 27 | listen l22 |
| 28 | bind :22000-22009,:22020-22029 |
| 29 | |
| 30 | #listen l23 |
| 31 | # bind ::23000,::23001 |
| 32 | |
| 33 | listen l24 |
| 34 | bind :::24000,:::24001 |
| 35 | |
| 36 | listen l25 |
| 37 | bind *:25000,*:25001 |
| 38 | |
| 39 | listen l26 |
| 40 | bind 0.0.0.0:26000,0.0.0.0:26001 |
| 41 | |
| 42 | listen l35 :35000 |
| 43 | server s1 :80 |
| 44 | #server s2 ::80 |
| 45 | server s3 :::80 |
| 46 | server s4 *:80 |
| 47 | server s5 0.0.0.0:80 |
| 48 | server s5 0::0:80 |
| 49 | |
| 50 | listen l36 :36000 |
| 51 | server s1 1.1.1.1:80 |
| 52 | server s2 1::1:80 |
| 53 | server s3 ::1.1.1.1:80 |
| 54 | server s4 localhost:80 |
| 55 | # server s5 localhost6:80 |
| 56 | |
| 57 | listen l37 :37000 |
| 58 | server s1 1.1.1.1 |
| 59 | server s2 1::1: |
| 60 | server s3 ::1.1.1.1: |
| 61 | server s4 localhost |
| 62 | # server s5 localhost6 |
| 63 | |
| 64 | listen l38 :38000 |
| 65 | server s1 1.1.1.1:+1 |
| 66 | server s2 1::1:+1 |
| 67 | server s3 ::1.1.1.1:+1 |
| 68 | server s4 localhost:+1 |
| 69 | # server s5 localhost6:+1 |
| 70 | |
| 71 | listen l39 :39000 |
| 72 | server s1 1.1.1.1 check addr 2.2.2.2 |
| 73 | server s2 1::1: check addr 2::2: |
| 74 | server s3 ::1.1.1.1: check addr ::2.2.2.2: |
| 75 | server s4 ::1.1.1.1: check addr localhost |
| 76 | # server s5 ::1.1.1.1: check addr localhost6 |
| 77 | |
| 78 | listen l40 :40000 |
| 79 | server s1 1.1.1.1 source 0.0.0.0 |
| 80 | server s2 1.1.1.1 source :1-10 |
| 81 | server s3 1.1.1.1 source :::1-10 |
| 82 | server s3 1.1.1.1 source 0::0:1-10 |
| 83 | server s3 1.1.1.1 source ::0.0.0.0:1-10 |
| 84 | |