lawless/nginx-docs.conf
徐勤民 521603a899
一些检测仍在等待运行
Docs Build / build-and-deploy (push) Waiting to run
refactor(client): 删除游戏核心管理器和场景脚本
- 移除 ConfigManager 配置管理器类
- 移除 GameManager 全局单例管理器类
- 移除 NetworkManager 网络连接管理器类
- 移除 CharacterData 和 ItemData 数据模型类
- 移除 BagScene、BattleScene、LobbyScene 等场景脚本
- 移除 EncounterBubble 和 EventFeedPanel UI组件脚本
- 更新代理邀请文档中的服务器连接方式
- 更新同步状态表格中的代理任务分配信息
- 添加 MiMo 任务完成总结和审查修复记录
2026-07-03 21:34:51 +08:00

54 行
1.4 KiB
Plaintext

server {
listen 80;
server_name docs.xuqinmin.com;
root /var/www/docs.xuqinmin.com/site;
index index.html;
location ^~ /.well-known/acme-challenge/ {
root /var/www/docs.xuqinmin.com/webroot;
allow all;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl http2;
server_name docs.xuqinmin.com;
root /var/www/docs.xuqinmin.com/site;
index index.html;
ssl_certificate /opt/xuqm/acme/docs.xuqinmin.com_ecc/fullchain.cer;
ssl_certificate_key /opt/xuqm/acme/docs.xuqinmin.com_ecc/docs.xuqinmin.com.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options DENY always;
add_header Referrer-Policy strict-origin-when-cross-origin always;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript;
location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
location / {
try_files $uri $uri/ $uri.html =404;
}
location /health {
return 200 "ok";
add_header Content-Type text/plain;
}
}