feat(admin-configurator): add web configurator, visual level editor, audit logs and session management

This commit is contained in:
2026-09-22 09:25:01 +00:00
parent e820d1354d
commit d8be8f4366
13 changed files with 11204 additions and 292 deletions
+19 -20
View File
@@ -7,6 +7,14 @@ server {
root /var/www/certbot;
}
# Game Configurator & Admin Panel SPA
location /configurator/ {
alias /usr/share/nginx/html/configurator_work/;
index index.html;
try_files $uri $uri/ /configurator/index.html;
}
location / {
return 301 https://$host$request_uri;
}
@@ -41,32 +49,15 @@ server {
root /var/www/certbot;
}
# Bug Reports & Feedback API proxy
location /api/bugs {
proxy_pass http://127.0.0.1:8001/api/bugs;
# All Game Backend APIs (Auth, Leaderboard, Campaign, Bugs, Config, Admin, Users)
location /api/ {
proxy_pass http://127.0.0.1:8001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# User Auth & Profile Save API proxy
location /api/auth/ {
proxy_pass http://127.0.0.1:8001/api/auth/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Admin: list all users
location /api/users {
proxy_pass http://127.0.0.1:8001/api/users;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Gitea Git Service proxy
location = /gitea {
@@ -88,6 +79,14 @@ server {
}
# SPA Fallback & Static asset serving
# Game Configurator & Admin Panel SPA
location /configurator/ {
alias /usr/share/nginx/html/configurator_work/;
index index.html;
try_files $uri $uri/ /configurator/index.html;
}
location / {
try_files $uri $uri/ /index.html;
}