Skip to content

Commit

Permalink
feat: Add methods.18f.gov redirect to guides.18f.gov/methods
Browse files Browse the repository at this point in the history
  • Loading branch information
apburnes committed Mar 4, 2024
1 parent 68a070f commit 915acc5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ services:
- app:eng-hiring.18f.gov
- app:engineering.18f.gov
- app:product-guide.18f.gov
- app:methods.18f.gov
12 changes: 11 additions & 1 deletion templates/_federalist-redirects.njk
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ server {
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 {
Expand Down Expand Up @@ -623,3 +623,13 @@ server {
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;
}
}

0 comments on commit 915acc5

Please sign in to comment.