frontend: add players possibility to report problems with exercices

This commit is contained in:
nemunaire 2020-01-20 15:56:02 +01:00
commit 9186bbc229
13 changed files with 206 additions and 0 deletions

View file

@ -86,6 +86,11 @@ server {
rewrite ^/.*$ /index.html;
}
location /issue {
include fic-auth.conf;
rewrite ^/.*$ /index.html;
}
location /rank {
include fic-auth.conf;
@ -167,6 +172,15 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_redirect off;
}
location /submit/issue {
include fic-auth.conf;
rewrite ^/submit/.*$ /issue/$team break;
proxy_pass http://frontend:8080/;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_redirect off;
}
location /submit/name {
include fic-auth.conf;

View file

@ -78,6 +78,11 @@ server {
rewrite ^/.*$ /index.html;
}
location /issue {
include fic-auth.conf;
rewrite ^/.*$ /index.html;
}
location /rank {
include fic-auth.conf;
@ -159,6 +164,15 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_redirect off;
}
location /submit/issue {
include fic-auth.conf;
rewrite ^/submit/.*$ /issue/$team break;
proxy_pass http://frontend:8080/;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_redirect off;
}
location /submit/name {
include fic-auth.conf;