/
haproxy.sls
133 lines (120 loc) · 3.3 KB
/
haproxy.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
haproxy:
services:
buildbot-master:
domains:
- buildbot.python.org
check: "GET /all/#/about HTTP/1.1\\r\\nHost:\\ buildbot.python.org"
extra:
- timeout client 30s
- timeout connect 5s
- timeout server 25s
- timeout tunnel 3600s
docs:
domains:
- docs.python.org
- doc.python.org
downloads:
domains:
- www.python.org
path: /ftp/
check: "HEAD /_check HTTP/1.1\\r\\nHost:\\ www.python.org"
codespeed-cpython:
domains:
- speed.python.org
verify_host: codespeed.psf.io
check: "HEAD / HTTP/1.1\\r\\nHost:\\ speed.python.org"
codespeed-pypy:
domains:
- speed.pypy.org
verify_host: codespeed.psf.io
check: "HEAD / HTTP/1.1\\r\\nHost:\\ speed.pypy.org"
console:
domains:
- console.python.org
check: False
ca-file: "ca-certificates.crt"
verify_host: www.pythonanywhere.com
extra:
- http-request replace-header Host ^.*$ www.pythonanywhere.com
- "http-request deny unless { path_beg -i /static/ } or { path_beg -i /python-dot-org-console/ } or { path_beg -i /python-dot-org-live-consoles-status }"
hg:
domains:
- hg.python.org
check: "GET /test/rev/ea32503c754c HTTP/1.1\\r\\nHost:\\ hg.python.org"
pypa-bootstrap:
domains:
- bootstrap.pypa.io
verify_host: bootstrap.pypa.psf.io
check: "HEAD / HTTP/1.1\\r\\nHost:\\ bootstrap.pypa.io"
pypy-web:
domains:
- www.pypy.org
hsts_subdomains: False
hsts_preload: False
verify_host: pypy-web.psf.io
check: "HEAD / HTTP/1.1\\r\\nHost:\\ pypy-web.psf.io"
letsencrypt-well-known:
domains: []
verify_host: salt.psf.io
check: "GET /.well-known/acme-challenge/sentinel HTTP/1.1\\r\\nHost:\\ salt.psf.io"
redirects:
cheeseshop.python.org:
target: pypi.python.org
jobs.python.org:
target: www.python.org/jobs/
request_uri: False
packages.python.org:
target: pythonhosted.org
planet.python.org:
target: planetpython.org
tls: False
python.org:
target: www.python.org
hsts_subdomains: False
pypa.io:
target: www.pypa.io
www.pycon.org:
target: pycon.org
hsts_subdomains: False
hsts_preload: False
jython.org:
target: www.jython.org
hsts_subdomains: False
hsts_preload: False
jython.com:
target: www.jython.org
hsts_subdomains: False
hsts_preload: False
www.jython.com:
target: www.jython.org
hsts_subdomains: False
hsts_preload: False
jython.net:
target: www.jython.org
hsts_subdomains: False
hsts_preload: False
www.jython.net:
target: www.jython.org
hsts_subdomains: False
hsts_preload: False
pypy.org:
target: www.pypy.org
hsts_subdomains: False
hsts_preload: False
tls: False
listens:
hg_ssh:
bind: :20100
service: hg-ssh
buildbot_worker:
bind: :20101
service: buildbot-master-worker
extra:
- timeout client 86400
- timeout server 86400
buildbot_worker_direct:
bind: :9020
service: buildbot-master-worker
extra:
- timeout client 86400
- timeout server 86400