Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permanently redirect 18f guides: accessibility, eng-hiring, engineering and product #231

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading