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 content, derisking, ux guides #229

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