New option to allow teams to self reset their progression
This commit is contained in:
parent
a5234e401e
commit
f6b94b33e5
3 changed files with 24 additions and 0 deletions
|
@ -218,6 +218,14 @@ server {
|
||||||
proxy_set_header X-FIC-Team $team;
|
proxy_set_header X-FIC-Team $team;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
|
location /reset_progress {
|
||||||
|
include fic-auth.conf;
|
||||||
|
|
||||||
|
proxy_pass http://receiver:8080;
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-FIC-Team $team;
|
||||||
|
proxy_redirect off;
|
||||||
|
}
|
||||||
location /openhint/ {
|
location /openhint/ {
|
||||||
include fic-auth.conf;
|
include fic-auth.conf;
|
||||||
|
|
||||||
|
|
|
@ -205,6 +205,14 @@ server {
|
||||||
proxy_set_header X-FIC-Team $team;
|
proxy_set_header X-FIC-Team $team;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
|
location /reset_progress {
|
||||||
|
include fic-get-team.conf;
|
||||||
|
|
||||||
|
proxy_pass http://${HOST_RECEIVER};
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-FIC-Team $team;
|
||||||
|
proxy_redirect off;
|
||||||
|
}
|
||||||
location /openhint/ {
|
location /openhint/ {
|
||||||
include fic-get-team.conf;
|
include fic-get-team.conf;
|
||||||
|
|
||||||
|
|
|
@ -208,6 +208,14 @@ server {
|
||||||
proxy_set_header X-FIC-Team $team;
|
proxy_set_header X-FIC-Team $team;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
|
location /reset_progress {
|
||||||
|
include fic-get-team.conf;
|
||||||
|
|
||||||
|
proxy_pass http://receiver:8080;
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-FIC-Team $team;
|
||||||
|
proxy_redirect off;
|
||||||
|
}
|
||||||
location /openhint/ {
|
location /openhint/ {
|
||||||
include fic-get-team.conf;
|
include fic-get-team.conf;
|
||||||
|
|
||||||
|
|
Reference in a new issue