From 17b93f9b871cd2512f64c60448d6e3797cbc3bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Vosp=C4=9Bl?= Date: Mon, 11 Dec 2023 12:20:37 +0100 Subject: [PATCH] fix: admin page 403 --- docker-compose.yaml | 2 -- frontend/nginx.conf | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 4c49317..e33382c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -22,8 +22,6 @@ services: - challenge_network expose: - 3000 - ports: - - 3000:3000 volumes: - ./docker/flags:/var/flags:ro environment: diff --git a/frontend/nginx.conf b/frontend/nginx.conf index aff39f5..d75ce86 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -6,7 +6,7 @@ server { location / { root /usr/share/nginx/html; index index.html index.htm; - try_files $uri $uri/ $uri.html /index.html; + try_files $uri $uri/ /$uri.html /index.html; } location /api/ {