Requires login to see themes (when using fic-nginx container)
This commit is contained in:
parent
51e3bfde90
commit
cb2cd7f4c0
5 changed files with 53 additions and 8 deletions
|
|
@ -150,9 +150,15 @@ server {
|
|||
add_header Cache-Control no-cache;
|
||||
}
|
||||
location /themes.json {
|
||||
include fic-get-team.conf;
|
||||
|
||||
root ${PATH_TEAMS};
|
||||
expires epoch;
|
||||
add_header Cache-Control no-cache;
|
||||
|
||||
if (!-f ${PATH_TEAMS}/$team/my.json) {
|
||||
rewrite ^/ /themes-wait.json break;
|
||||
}
|
||||
}
|
||||
location /challenge.json {
|
||||
root ${PATH_SETTINGS}/;
|
||||
|
|
|
|||
Reference in a new issue