Skip to content

Commit

Permalink
Merge pull request #229 from echappen/eoc/redirect-content-derisking-ux
Browse files Browse the repository at this point in the history
Permanently redirect 18F content, derisking, ux guides
  • Loading branch information
drewbo authored Dec 7, 2023
2 parents 93e5e5c + af53575 commit 699b427
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,6 @@ services:
- app:federalistapp.18f.gov
- app:agile.18f.gov
- app:brand.18f.gov
- app:content-guide.18f.gov
- app:derisking-guide.18f.gov
- app:ux-guide.18f.gov
30 changes: 30 additions & 0 deletions templates/_federalist-redirects.njk
Original file line number Diff line number Diff line change
Expand Up @@ -553,3 +553,33 @@ server {
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;
}
}

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

0 comments on commit 699b427

Please sign in to comment.