From 48a8ffc6a1fac0a585b30e895472e4bc4084460d Mon Sep 17 00:00:00 2001 From: bartool Date: Sun, 30 Nov 2025 08:59:03 +0100 Subject: [PATCH] fix: add redirects for admin and API endpoints in Nginx configuration --- frontend/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index f04d0f5..b9c6e86 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -30,6 +30,14 @@ http { listen 7080; server_name localhost; + location = /mayo-manager/admin { + return 301 /mayo-manager/admin/; + } + + location = /mayo-manager/api { + return 301 /mayo-manager/api/; + } + # Serwowanie statycznych plików Django Admina location /mayo-manager/static/ { alias /static_django/;