fix: add redirects for admin and API endpoints in Nginx configuration

This commit is contained in:
2025-11-30 08:59:03 +01:00
parent 70ad13e0e9
commit 48a8ffc6a1

View File

@@ -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/;