Skip to content

Commit

Permalink
Merge pull request #232 from cloud-gov/redirect-access-enghire-eng-pr…
Browse files Browse the repository at this point in the history
…oduct

redirect 18f guides: accessibility, eng-hiring, engineering and product
  • Loading branch information
drewbo authored Dec 14, 2023
2 parents e600e68 + 6afde00 commit 76567a3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ services:
- app:content-guide.18f.gov
- app:derisking-guide.18f.gov
- app:ux-guide.18f.gov
- app:accessibility.18f.gov
- app:eng-hiring.18f.gov
- app:engineering.18f.gov
- app:product-guide.18f.gov
40 changes: 40 additions & 0 deletions templates/_federalist-redirects.njk
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,16 @@ server {
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 }};
Expand Down Expand Up @@ -574,6 +584,36 @@ server {
}
}

# 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 }};
Expand Down

0 comments on commit 76567a3

Please sign in to comment.