feat: 更新SproutGate前后端代码

This commit is contained in:
2026-04-01 22:04:01 +08:00
parent 90590c7cb0
commit 650e1c7707
49 changed files with 3609 additions and 768 deletions

View File

@@ -0,0 +1,26 @@
server {
listen 2121;
server_name sproutgate-frontend;
root /shumengya/www/self-made/sproutgate-frontend;
index index.html;
location / {
# SPA fallback
try_files $uri $uri/ /index.html;
}
location ~ /\. {
deny all;
}
location ^~ /assets/ {
expires 30d;
add_header Cache-Control "public, immutable";
}
location ~* \.(css|js|map|png|jpg|jpeg|gif|svg|ico|webp|woff2?|ttf|eot)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
}