-
Notifications
You must be signed in to change notification settings - Fork 24
/
_federalist-redirects.njk
706 lines (592 loc) · 18.3 KB
/
_federalist-redirects.njk
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
# Originally from https://github.com/18F/federalist-redirects/blob/b60293b49d01c429092195bc6d446690423dcf3b/nginx.conf
server {
listen {{ PORT }};
set $target_domain presidentialinnovationfellows.gov;
server_name pif.gov www.pif.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 302 https://$target_domain$request_uri;
}
server {
listen {{ PORT }};
set $target_domain 18f.gsa.gov;
server_name 18f.gov www.18f.gov;
add_header X-Government-Innovation Disrupted;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
location ~ ^/chat/?$ {
return 302 https://docs.google.com/forms/d/e/1FAIpQLSfFoLTRV00g1iIEZv404wJ0BRwNc6CPKbyXMCeXLjDKDv9g4Q/viewform?usp=sf_link/;
}
location / {
return 302 https://$target_domain$request_uri;
}
}
# api-all-the-x.18f.gov to github.com/18F/API-All-the-X
server {
listen {{ PORT }};
set $target_domain github.com/18F/API-All-the-X;
server_name api-all-the-x.18f.gov;
return 301 https://$target_domain;
}
# api-program.18f.gov to github.com/18F/api-program
server {
listen {{ PORT }};
set $target_domain github.com/18F/api-program;
server_name api-program.18f.gov;
return 301 https://$target_domain;
}
# api-usability-testing.18f.gov to github.com/18F/API-Usability-Testing
server {
listen {{ PORT }};
set $target_domain github.com/18F/API-Usability-Testing;
server_name api-usability-testing.18f.gov;
return 301 https://$target_domain;
}
# digitalaccelerator.18f.gov to github.com/18F/digitalaccelerator
server {
listen {{ PORT }};
set $target_domain github.com/18F/digitalaccelerator;
server_name digitalaccelerator.18f.gov;
return 301 https://$target_domain;
}
# www.digitalgov.gov and www.digital.gov to digital.gov
server {
listen {{ PORT }};
set $target_domain digital.gov;
server_name www.digitalgov.gov www.digital.gov;
return 301 https://$target_domain$request_uri;
}
# digitalgov.gov to digital.gov
server {
listen {{ PORT }};
set $target_domain digital.gov;
server_name digitalgov.gov;
add_header Strict-Transport-Security 'max-age=63072000; includeSubDomains; preload';
return 301 https://$target_domain$request_uri;
}
# accessibility.digital.gov to digital.gov/guides/accessibility-for-teams/
server {
listen {{ PORT }};
set $target_domain digital.gov/guides/accessibility-for-teams/;
server_name accessibility.digital.gov;
add_header Strict-Transport-Security 'max-age=63072000; includeSubDomains; preload';
# Making this a temp 302 to verify their target domain
return 302 https://$target_domain;
}
# usability.gov to digital.gov/topics/usability
server {
listen {{ PORT }};
set $target_domain digital.gov/topics/usability/;
server_name usability.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 301 https://$target_domain;
}
# www.usability.gov to digital.gov/topics/usability/
server {
listen {{ PORT }};
set $target_domain digital.gov/topics/usability/;
server_name www.usability.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 301 https://$target_domain;
}
# summit.digitalgov.gov to digital.gov
server {
listen {{ PORT }};
set $target_domain digital.gov;
server_name summit.digitalgov.gov;
return 302 https://$target_domain$request_uri;
}
# emerging.digital.gov to digital.gov/topics/emerging-tech/
server {
listen {{ PORT }};
set $target_domain digital.gov/topics/emerging-tech/;
server_name emerging.digital.gov;
return 301 https://$target_domain;
}
# openopps.digitalgov.gov to openopps.usajobs.gov
server {
listen {{ PORT }};
set $target_domain openopps.usajobs.gov;
server_name openopps.digitalgov.gov;
return 301 https://$target_domain$request_uri;
}
# plainlanguage.gov to www.plainlanguage.gov
server {
listen {{ PORT }};
set $target_domain www.plainlanguage.gov;
server_name plainlanguage.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 301 https://$target_domain$request_uri;
}
# blogging-guide.18f.gov to handbook.18f.gov/blogging
server {
listen {{ PORT }};
set $target_domain handbook.18f.gov/blogging/;
server_name blogging-guide.18f.gov;
return 301 https://$target_domain;
}
# v2.designsystem.digital.gov to designsystem.digital.gov
server {
listen {{ PORT }};
set $target_domain designsystem.digital.gov;
server_name v2.designsystem.digital.gov;
return 301 https://$target_domain$request_uri;
}
# writing-lab-guide.18f.gov to handbook.18f.gov/writing-lab
server {
listen {{ PORT }};
set $target_domain handbook.18f.gov/writing-lab;
server_name writing-lab-guide.18f.gov;
return 301 https://$target_domain;
}
# iaa-forms.18f.gov to github.com/18F/iaa-forms
server {
listen {{ PORT }};
set $target_domain github.com/18F/iaa-forms;
server_name iaa-forms.18f.gov;
return 301 https://$target_domain;
}
# innovation-toolkit-prototype.18f.gov to github.com/18F/innovation-toolkit-prototype
server {
listen {{ PORT }};
set $target_domain github.com/18F/innovation-toolkit-prototype;
server_name innovation-toolkit-prototype.18f.gov;
return 301 https://$target_domain;
}
# digital-acquisition-playbook.18f.gov to github.com/18F/digital-acquisition-playbook
server {
listen {{ PORT }};
set $target_domain github.com/18F/digital-acquisition-playbook;
server_name digital-acquisition-playbook.18f.gov;
return 301 https://$target_domain;
}
# automated-testing-playbook.18f.gov to github.com/18F/automated-testing-playbook
server {
listen {{ PORT }};
set $target_domain github.com/18F/automated-testing-playbook;
server_name automated-testing-playbook.18f.gov;
return 301 https://$target_domain;
}
# design-principles-guide.18f.gov to github.com/18F/design-principles-guide
server {
listen {{ PORT }};
set $target_domain github.com/18F/design-principles-guide;
server_name design-principles-guide.18f.gov;
return 301 https://$target_domain;
}
# contracting-cookbook.18f.gov to github.com/18F/contracting-cookbook
server {
listen {{ PORT }};
set $target_domain github.com/18F/contracting-cookbook;
server_name contracting-cookbook.18f.gov;
return 301 https://$target_domain;
}
# grouplet-playbook.18f.gov to github.com/18F/grouplet-playbook
server {
listen {{ PORT }};
set $target_domain github.com/18F/grouplet-playbook;
server_name grouplet-playbook.18f.gov;
return 301 https://$target_domain;
}
# guides-template.18f.gov to github.com/18F/guides-template
server {
listen {{ PORT }};
set $target_domain github.com/18F/guides-template;
server_name guides-template.18f.gov;
return 301 https://$target_domain;
}
# lean-product-design.18f.gov to github.com/18F/lean-product-design
server {
listen {{ PORT }};
set $target_domain github.com/18F/lean-product-design;
server_name lean-product-design.18f.gov;
return 301 https://$target_domain;
}
# modularcontracting.18f.gov to https://github.com/18F/Modular-Contracting-And-Agile-Development
server {
listen {{ PORT }};
set $target_domain github.com/18F/Modular-Contracting-And-Agile-Development;
server_name modularcontracting.18f.gov;
return 301 https://$target_domain;
}
# open-source-guide.18f.gov to github.com/18F/open-source-guide
server {
listen {{ PORT }};
set $target_domain github.com/18F/open-source-guide;
server_name open-source-guide.18f.gov;
return 301 https://$target_domain;
}
# open-source-program.18f.gov to github.com/18F/open-source-program
server {
listen {{ PORT }};
set $target_domain github.com/18F/open-source-program;
server_name open-source-program.18f.gov;
return 301 https://$target_domain;
}
# partnership-playbook.18f.gov to 18f.gsa.gov/partnership-principles
server {
listen {{ PORT }};
set $target_domain 18f.gsa.gov/partnership-principles;
server_name partnership-playbook.18f.gov;
return 301 https://$target_domain;
}
# plain-language-tutorial.18f.gov to github.com/18F/plain-language-tutorial
server {
listen {{ PORT }};
set $target_domain github.com/18F/plain-language-tutorial;
server_name plain-language-tutorial.18f.gov;
return 301 https://$target_domain;
}
# testing-cookbook.18f.gov to github.com/18F/testing-cookbook
server {
listen {{ PORT }};
set $target_domain github.com/18F/testing-cookbook;
server_name testing-cookbook.18f.gov;
return 301 https://$target_domain;
}
server {
listen {{ PORT }};
set $target_domain presidentialinnovationfellows.gov/apply/;
server_name apply.pif.gov;
return 302 https://$target_domain;
}
# paygap.pif.gov to pif.gov
server {
listen {{ PORT }};
set $target_domain pif.gov;
server_name paygap.pif.gov;
return 301 https://$target_domain;
}
# tophealth.pif.gov to pif.gov
server {
listen {{ PORT }};
set $target_domain pif.gov;
server_name tophealth.pif.gov;
return 301 https://$target_domain;
}
# micropurchase.18f.gov to github.com/18f/micropurchase-archive
server {
listen {{ PORT }};
set $target_domain github.com/18f/micropurchase-archive;
server_name micropurchase.18f.gov;
return 301 https://$target_domain;
}
# boise.18f.gov to github.com/18f/boise
server {
listen {{ PORT }};
set $target_domain github.com/18f/boise;
server_name boise.18f.gov;
return 301 https://$target_domain;
}
# acqstack-journeymap.18f.gov to github.com/18f/acqstack-journeymap
server {
listen {{ PORT }};
set $target_domain github.com/18f/acqstack-journeymap;
server_name acqstack-journeymap.18f.gov;
return 301 https://$target_domain;
}
# agile-bpa.18f.gov to github.com/18f/ads-bpa
server {
listen {{ PORT }};
set $target_domain github.com/18f/ads-bpa;
server_name agile-bpa.18f.gov;
return 301 https://$target_domain;
}
# slides.18f.gov to github.com/18f/slides
server {
listen {{ PORT }};
set $target_domain github.com/18f/slides;
server_name slides.18f.gov;
return 301 https://$target_domain;
}
# fedspendingtransparency.18f.gov to https://github.com/fedspendingtransparency/fedspendingtransparency.github.io
server {
listen {{ PORT }};
set $target_domain github.com/fedspendingtransparency/fedspendingtransparency.github.io;
server_name fedspendingtransparency.18f.gov;
return 301 https://$target_domain;
}
# C2: cap.18f.gov and requests.18f.gov to https://handbook.18f.gov/purchase-requests/
server {
listen {{ PORT }};
set $target_domain docs.google.com/forms/d/e/1FAIpQLSd-GoOE9xWWfJvdZNRP3SE7mj5ysI_RfM8brxdG8YpyJV9yKA/viewform;
server_name cap.18f.gov;
return 301 https://$target_domain;
}
server {
listen {{ PORT }};
set $target_domain docs.google.com/forms/d/e/1FAIpQLSd-GoOE9xWWfJvdZNRP3SE7mj5ysI_RfM8brxdG8YpyJV9yKA/viewform;
server_name requests.18f.gov;
return 301 https://$target_domain;
}
server {
listen {{ PORT }};
set $target_domain docs.google.com/forms/d/e/1FAIpQLSd-GoOE9xWWfJvdZNRP3SE7mj5ysI_RfM8brxdG8YpyJV9yKA/viewform;
server_name c2.18f.gov;
return 301 https://$target_domain;
}
# www.findtreatment.gov to findtreatment.gov
server {
listen {{ PORT }};
set $target_domain findtreatment.gov;
server_name www.findtreatment.gov;
return 301 https://$target_domain$request_uri;
}
# federalistapp.18f.gov to pages.cloud.gov
server {
listen {{ PORT }};
set $target_domain pages.cloud.gov;
server_name federalistapp.18f.gov;
return 301 https://$target_domain$request_uri;
}
# private-eye.18f.gov to github.com/18f/private-eye
server {
listen {{ PORT }};
set $target_domain github.com/18f/private-eye;
server_name private-eye.18f.gov;
return 301 https://$target_domain;
}
# atf-eregs.18f.gov to regulations.atf.gov
server {
listen {{ PORT }};
set $target_domain regulations.atf.gov;
server_name atf-eregs.18f.gov;
return 301 https://$target_domain;
}
# agile-labor-categories.18f.gov to derisking-guide.18f.gov
server {
listen {{ PORT }};
set $target_domain derisking-guide.18f.gov;
server_name agile-labor-categories.18f.gov;
return 301 https://$target_domain$request_uri;
}
# usdigitalregistry.digitalgov.gov to touchpoints.app.cloud.gov/registry
server {
listen {{ PORT }};
set $target_domain touchpoints.app.cloud.gov/registry/;
server_name usdigitalregistry.digitalgov.gov;
return 301 https://$target_domain;
}
# handbook.18f.gov to handbook.tts.gsa.gov
server {
listen {{ PORT }};
set $target_domain handbook.tts.gsa.gov;
server_name handbook.18f.gov;
return 301 https://$target_domain$request_uri;
}
# frontend.18f.gov to engineering.18f.gov/frontend/
server {
listen {{ PORT }};
set $target_domain engineering.18f.gov/frontend/;
server_name frontend.18f.gov;
return 301 https://$target_domain;
}
# proposal.pif.gov to form
server {
listen {{ PORT }};
set $target_domain docs.google.com/forms/d/e/1FAIpQLSeIVylFhpyyv9cBQFKnXa6x3sJsZN4HkkqhNcYgHfSHjv-5kw/viewform;
server_name proposal.pif.gov;
return 301 https://$target_domain;
}
# www.search.gov to search.gov
server {
listen {{ PORT }};
set $target_domain search.gov;
server_name www.search.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 301 https://$target_domain$request_uri;
}
# paid-leave-prototype.18f.gov to github repo
server {
listen {{ PORT }};
set $target_domain github.com/18F/Paid-Leave-Prototype;
server_name paid-leave-prototype.18f.gov;
return 301 https://$target_domain;
}
# ads.18f.gov to github repo
server {
listen {{ PORT }};
set $target_domain github.com/18F/ads-bpa;
server_name ads.18f.gov;
return 301 https://$target_domain;
}
# developer.login.gov to developers.login.gov
server {
listen {{ PORT }};
set $target_domain developers.login.gov;
server_name developer.login.gov;
return 301 https://$target_domain;
}
# components.designsystem.digital.gov to designsystem.digital.gov/components
server {
listen {{ PORT }};
set $target_domain designsystem.digital.gov/components/;
server_name components.designsystem.digital.gov;
return 301 https://$target_domain;
}
# climate-data-user-study.18f.gov to github.com/18F/climate-labs
server {
listen {{ PORT }};
set $target_domain github.com/18F/climate-labs;
server_name climate-data-user-study.18f.gov;
return 301 https://$target_domain;
}
# govconnect.18f.gov to github.com/18F/govconnect
server {
listen {{ PORT }};
set $target_domain github.com/18F/govconnect;
server_name govconnect.18f.gov;
return 301 https://$target_domain;
}
# portfolios.18f.gov to 18f.gsa.gov
server {
listen {{ PORT }};
set $target_domain 18f.gsa.gov;
server_name portfolios.18f.gov;
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains; preload';
return 301 https://$target_domain;
}
# fac.gov to www.fac.gov
server {
listen {{ PORT }};
set $target_domain www.fac.gov;
server_name fac.gov;
add_header Strict-Transport-Security 'max-age=31536000; preload';
return 301 https://$target_domain$request_uri;
}
# partners.login.gov to www.login.gov/partners
server {
listen {{ PORT }};
server_name partners.login.gov;
location = / {
return 301 https://www.login.gov/partners/;
}
location ~ ^/product/?$ {
return 301 https://www.login.gov/partners/our-services/;
}
location ~ ^/sandbox/?$ {
return 301 https://developers.login.gov/;
}
location ~ ^/state-and-local/?$ {
return 301 https://www.login.gov/partners/state-and-local/;
}
}
# design.login.gov to www.login.gov
server {
listen {{ PORT }};
server_name design.login.gov;
return 301 https://www.login.gov/;
}
# accessibility.18f.gov to guides.18f.gov/accessibility
server {
listen {{ PORT }};
server_name accessibility.18f.gov;
location / {
return 301 https://guides.18f.gov/accessibility$uri;
}
}
# agile.18f.gov to guides.18f.gov/agile/
server {
listen {{ PORT }};
server_name agile.18f.gov;
location / {
return 301 https://guides.18f.gov/agile$uri;
}
}
# brand.18f.gov to guides.18f.gov/brand/
server {
listen {{ PORT }};
server_name brand.18f.gov;
location / {
return 301 https://guides.18f.gov/brand$uri;
}
}
# content-guide.18f.gov to guides.18f.gov/content-guide/
server {
listen {{ PORT }};
server_name content-guide.18f.gov;
location / {
return 301 https://guides.18f.gov/content-guide$uri;
}
}
# derisking-guide.18f.gov to guides.18f.gov/derisking/
server {
listen {{ PORT }};
server_name derisking-guide.18f.gov;
location / {
return 301 https://guides.18f.gov/derisking$uri;
}
}
# eng-hiring.18f.gov to guides.18f.gov/eng-hiring
server {
listen {{ PORT }};
server_name eng-hiring.18f.gov;
location / {
return 301 https://guides.18f.gov/eng-hiring$uri;
}
}
# engineering.18f.gov to guides.18f.gov/engineering
server {
listen {{ PORT }};
server_name engineering.18f.gov;
location / {
return 301 https://guides.18f.gov/engineering$uri;
}
}
# product-guide.18f.gov to guides.18f.gov/product
server {
listen {{ PORT }};
server_name product-guide.18f.gov;
location / {
return 301 https://guides.18f.gov/product$uri;
}
}
# ux-guide.18f.gov to guides.18f.gov/ux-guide/
server {
listen {{ PORT }};
server_name ux-guide.18f.gov;
location / {
return 301 https://guides.18f.gov/ux-guide$uri;
}
}
# methods.18f.gov to guides.18f.gov/methods/
server {
listen {{ PORT }};
server_name methods.18f.gov;
location / {
return 301 https://guides.18f.gov/methods$uri;
}
}
# identityequitystudy.gsa.gov to gsa.gov...
server {
listen {{ PORT }};
server_name identityequitystudy.gsa.gov;
location / {
return 301 https://www.gsa.gov/governmentwide-initiatives/diversity-equity-inclusion-and-accessibility/equity-study-on-remote-identity-proofing;
}
}
# join.tts.gsa.gov to tts.gsa.gov and handbook.tts.gsa.gov
server {
listen {{ PORT }};
server_name join.tts.gsa.gov;
location ~ ^/working-at-tts/?$ {
return 301 https://handbook.tts.gsa.gov/about-us/tts-history/;
}
location ~ ^/tts-offices/?$ {
return 301 https://handbook.tts.gsa.gov/#tts-offices;
}
location ~ ^/join/PX-ContactCenterAnalysts/?$ {
return 301 https://tts.gsa.gov/join/public-experience-contact-center-analyst.html;
}
location ~ ^/join/Communities-Collaboration-Branch-Chief/?$ {
return 301 https://tts.gsa.gov/join/tts-platforms-and-services-communities-and-collaboration-branch-chief.html;
}
location / {
return 301 https://tts.gsa.gov/join$request_uri;
}
}
# demo.pra.digital.gov to pra.digital.gov
server {
listen {{ PORT }};
set $target_domain pra.digital.gov;
server_name demo.pra.digital.gov;
return 301 https://$target_domain$request_uri;
}