Skip to content

Commit 6758f19

Browse files
committed
feat(nginx): add redirects for test branch
1 parent bc5ba4f commit 6758f19

3 files changed

Lines changed: 11 additions & 39 deletions

File tree

config/test/nginx/hastac-org.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

config/test/nginx/hcommons.conf

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# this has to be ordered after 20-buddypress.conf.template has been loaded
2+
3+
# Member profile redirects to new Profiles application
4+
location /members/ {
5+
return 301 https://profile.hcommons-test.org$request_uri;
6+
}
7+
8+
# Member registration page redirects to new Profiles application
9+
location /membership/ {
10+
return 301 https://profile.hcommons-test.org/registration/start/;
11+
}

0 commit comments

Comments
 (0)