diff --git a/infra/nginx/configurations/ctf-manager.conf b/infra/nginx/configurations/ctf-manager.conf index f8711e7..e9654ee 100644 --- a/infra/nginx/configurations/ctf-manager.conf +++ b/infra/nginx/configurations/ctf-manager.conf @@ -6,7 +6,7 @@ server { # deny all; # Exception for /team/*/flag - location ~* ^/team/.*/flag$ { + location ~* ^/team/[^/]+/flag/$ { proxy_pass http://api:80; proxy_set_header Host $host;