forked from mayank8318/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths3_website.yml
More file actions
279 lines (268 loc) · 7.62 KB
/
s3_website.yml
File metadata and controls
279 lines (268 loc) · 7.62 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
s3_bucket: opendatakit.org
s3_endpoint: us-west-2
site: _site
error_document: 404.html
max_age: 300
gzip: true
exclude_from_upload:
- s3_website.yml
- CNAME
cloudfront_distribution_id: E1EZ24MS8LWP3O
cloudfront_distribution_config:
default_cache_behavior:
min_ttl: <%= 60 * 60 * 24 %>
aliases:
quantity: 2
items:
- opendatakit.org
- www.opendatakit.org
cloudfront_wildcard_invalidation: true
# folder redirects. executed from top to bottom.
routing_rules:
# help/form-design/*
- condition:
key_prefix_equals: help/form-design/binding
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-logic
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/external-apps
redirect:
host_name: docs.opendatakit.org
replace_key_with: launch-apps-from-collect
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/itext
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-language
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/workarounds
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-best-practices
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/examples
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-question-types
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/open-street-map
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-question-types/#openmapkit-widget
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/cascading-selects
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-logic/#filtering-options-in-select-questions
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/data-preloading
redirect:
host_name: xlsform.org
replace_key_with: '#pre-loading-csv-data'
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design/external-itemsets
redirect:
host_name: xlsform.org
replace_key_with: '#external'
http_redirect_code: 301
- condition:
key_prefix_equals: help/form-design
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-design-intro
http_redirect_code: 301
# help/*
- condition:
key_prefix_equals: help/image-based-forms
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-question-types/#including-images-as-choices
http_redirect_code: 301
- condition:
key_prefix_equals: help/verifying-downloaded-files
redirect:
host_name: docs.opendatakit.org
replace_key_with: verify-downloads
http_redirect_code: 301
- condition:
key_prefix_equals: help/encrypted-forms
redirect:
host_name: docs.opendatakit.org
replace_key_with: encrypted-forms
http_redirect_code: 301
- condition:
key_prefix_equals: help/faq
redirect:
host_name: docs.opendatakit.org
replace_key_with: faq
http_redirect_code: 301
- condition:
key_prefix_equals: help/help-for-hire
redirect:
host_name: forum.opendatakit.org
replace_key_with: c/marketplace
http_redirect_code: 301
- condition:
key_prefix_equals: help/training-guides
redirect:
host_name: docs.opendatakit.org
replace_key_with: ""
http_redirect_code: 301
# use/aggregate/*
- condition:
key_prefix_equals: use/aggregate/data-transfer
redirect:
host_name: docs.opendatakit.org
replace_key_with: aggregate-data-access
http_redirect_code: 301
- condition:
key_prefix_equals: use/aggregate/deployment-planning
redirect:
host_name: docs.opendatakit.org
replace_key_with: aggregate-deployment-planning
http_redirect_code: 301
- condition:
key_prefix_equals: use/aggregate/oauth2-service-account
redirect:
host_name: docs.opendatakit.org
replace_key_with: oauth2-service
http_redirect_code: 301
- condition:
key_prefix_equals: use/aggregate/tomcat-install
redirect:
host_name: docs.opendatakit.org
replace_key_with: aggregate-tomcat
http_redirect_code: 301
- condition:
key_prefix_equals: use/aggregate
redirect:
host_name: docs.opendatakit.org
replace_key_with: aggregate-intro
http_redirect_code: 301
# use/briefcase
- condition:
key_prefix_equals: use/briefcase
redirect:
host_name: docs.opendatakit.org
replace_key_with: briefcase-intro
http_redirect_code: 301
# use/build
- condition:
key_prefix_equals: use/build
redirect:
host_name: docs.opendatakit.org
replace_key_with: build-intro
http_redirect_code: 301
# use/collect
- condition:
key_prefix_equals: use/collect
redirect:
host_name: docs.opendatakit.org
replace_key_with: collect-intro
http_redirect_code: 301
# use/form-uploader
- condition:
key_prefix_equals: use/form-uploader
redirect:
host_name: docs.opendatakit.org
replace_key_with: form-uploader
http_redirect_code: 301
# use/sensors/*
- condition:
key_prefix_equals: use/sensors
redirect:
host_name: docs.opendatakit.org
replace_key_with: printer-widget
http_redirect_code: 301
# use/validate
- condition:
key_prefix_equals: use/validate
redirect:
host_name: docs.opendatakit.org
replace_key_with: validate
http_redirect_code: 301
# use/xls
- condition:
key_prefix_equals: use/xls
redirect:
host_name: docs.opendatakit.org
replace_key_with: xlsform
http_redirect_code: 301
# use/2_0_tools
- condition:
key_prefix_equals: use/2_0_tools
redirect:
host_name: docs.opendatakit.org
replace_key_with: odk2
http_redirect_code: 301
# use
- condition:
key_prefix_equals: use
redirect:
host_name: docs.opendatakit.org
replace_key_with: ""
http_redirect_code: 301
# about/*
- condition:
key_prefix_equals: about/deployments
redirect:
host_name: forum.opendatakit.org
replace_key_with: c/showcase
http_redirect_code: 301
- condition:
key_prefix_equals: about/research
redirect:
host_name: opendatakit.org
replace_key_with: community/research
http_redirect_code: 301
- condition:
key_prefix_equals: about/security-and-privacy-statement
redirect:
host_name: docs.opendatakit.org
replace_key_with: security-privacy
http_redirect_code: 301
- condition:
key_prefix_equals: about/team
redirect:
host_name: opendatakit.org
replace_key_with: community
http_redirect_code: 301
- condition:
key_prefix_equals: about/tools
redirect:
host_name: opendatakit.org
replace_key_with: software
http_redirect_code: 301
- condition:
key_prefix_equals: about
redirect:
host_name: opendatakit.org
replace_key_with: ""
http_redirect_code: 301
# downloads
- condition:
key_prefix_equals: download
redirect:
host_name: opendatakit.org
replace_key_with: software
http_redirect_code: 301
# participate
- condition:
key_prefix_equals: participate
redirect:
host_name: opendatakit.org
replace_key_with: community
http_redirect_code: 301
# single page redirects. only use with paths that are not in folder redirects.
redirects:
feed/index.html: feed.xml
xiframe/index.html: xlsform