-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #805 from NatalieWilson19/add-reason-to-delete-acc…
…ount-#748 Add reason to delete account #748
- Loading branch information
Showing
12 changed files
with
563 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,45 @@ | ||
(astro_url) { | ||
# /event/:uid/ -> /event/?event= | ||
@oldevent path_regexp eventp ^/(\w{2}/)?events/([\w-]{36})/?$ | ||
redir @oldevent /{re.eventp.1}events/details/?event={re.eventp.2} 302 | ||
|
||
# /loops/:uid/members -> /loops/members?chain= | ||
@oldmembers path_regexp membersp ^/(\w{2}/)?loops/([\w-]{36})/members/?$ | ||
redir @oldmembers /{re.membersp.1}loops/members/?chain={re.membersp.2} 302 | ||
|
||
# /loops/:uid/users/signup -> /loops/users/signup/?chain= | ||
@oldusersignup path_regexp userssignupp ^/(\w{2}/)?loops/([\w-]{36})/users/signup/?$ | ||
redir @oldusersignup /{re.userssignupp.1}loops/users/signup/?chain={re.userssignupp.2} 302 | ||
|
||
# /loops/:uid/users/login -> /loops/users/login/?chain= | ||
@olduserslogin path_regexp usersloginp ^/(\w{2}/)?loops/([\w-]{36})/users/login/?$ | ||
redir @olduserslogin /{re.usersloginp.1}loops/users/login/?chain={re.usersloginp.2} 302 | ||
|
||
# /users/login/validate?apiKey= -> /users/login/validate/?apiKey= | ||
# https://acc.clothingloop.org/users/login/validate?apiKey=74932015&u=aG9zdEBleGFtcGxlLmNvbQ%3D%3D | ||
@oldusersvalidp path_regexp usersvalidp ^/(\w{2}/)?users/login/validate$ | ||
redir @oldusersvalidp /{re.usersvalidp.1}users/login/validate/?{query} 302 | ||
|
||
# /users/me/edit -> /users/edit/?user=me | ||
@olduserseditme path_regexp userseditme ^/(\w{2}/)?users/me/edit$ | ||
redir @olduserseditme /{re.userseditme.1}users/edit/?user=me 302 | ||
} | ||
|
||
:80 { | ||
handle_path /api/* { | ||
handle_path /api/* { | ||
reverse_proxy server:8084 | ||
} | ||
|
||
redir /mailpit /mailpit/ | ||
redir /mailpit /mailpit/ | ||
handle_path /mailpit/* { | ||
rewrite * /mailpit{path} | ||
reverse_proxy mailpit:8025 | ||
} | ||
handle_path /toolkit { | ||
redir https://drive.google.com/drive/folders/1iMJzIcBxgApKx89hcaHhhuP5YAs_Yb27 | ||
} | ||
handle { | ||
reverse_proxy frontend:3000 | ||
} | ||
handle { | ||
import astro_url | ||
reverse_proxy frontend:3000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.