Skip to content

Commit

Permalink
Use only the 2021 route in nginx
Browse files Browse the repository at this point in the history
The old `/https-everywhere/` route now 404s on the securedrop.org
website, so we'll only honor the 2021 route. We should have implemented
a version scheme from day one. =)
  • Loading branch information
Conor Schaefer committed Aug 19, 2021
1 parent 94d42e5 commit c0f8c4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ http {
location / {
root /opt/nginx/root;
index index.html;
# This line has been adjusted for the temporary different external URL.
# Don't include this change in the main branch.
rewrite ^/https-everywhere($|//+)(.*) /https-everywhere-2021/$2 permanent;
rewrite ^/https-everywhere-2021($|//+)(.*) /https-everywhere-2021/$2 permanent;
}
}
}

0 comments on commit c0f8c4a

Please sign in to comment.