diff --git a/TOOLS.md b/TOOLS.md index 40e992a..99c7b2e 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -71,7 +71,7 @@ Add whatever helps you do your job. This is your cheat sheet. ### 城市手册部署 - **主机**: cssc.datalibstar.com (1.15.30.241) -- **用户**: ubuntu ⚠️ **不是 mashen!** +- **用户**: Ubuntu ⚠️ **注意大写 U** - **密码**: 825670@MashenClaw - **状态**: ✅ SSH 认证成功 diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 53858d4..d3ca1bf 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -28,6 +28,11 @@ server { } location /static { + # Try local static files first, then proxy to backend + try_files $uri $uri/ @backend_static; + } + + location @backend_static { proxy_pass http://backend:8000; }