Skip to content

Commit 47969c4

Browse files
committed
chore(infra): Add permanent redirect to the new domain
1 parent 33a9c88 commit 47969c4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nginx/nginx.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ http {
2222
gzip on;
2323
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
2424

25+
server {
26+
listen $PORT;
27+
listen [::]:$PORT;
28+
server_name wetlands-gap-map-staging-b3fdd14996a5.herokuapp.com www.wetlands-gap-map-staging-b3fdd14996a5.herokuapp.com;
29+
return 301 https://gaps-staging.wetlands.org$request_uri;
30+
}
31+
2532
server {
2633
listen $PORT;
2734
listen [::]:$PORT;

0 commit comments

Comments
 (0)