chore: update nginx config, add oneapi, verification pages and codebuddy skills

This commit is contained in:
12600k-rog-d4
2026-08-20 02:01:32 +08:00
parent 99afdbd82e
commit 1e5c48ffdd
14 changed files with 194 additions and 56 deletions

38
nginx/conf.d/oneapi.conf Normal file
View File

@@ -0,0 +1,38 @@
server {
listen 80;
server_name oneapi.membank.xyz;
location / {
proxy_pass http://oneapi:3000;
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;
# 添加代理超时配置
proxy_connect_timeout 60s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
# 支持大文件上传和API请求
client_max_body_size 100M;
proxy_buffering off;
# 启用gzip压缩
gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_proxied any;
gzip_comp_level 6;
gzip_types
text/plain
text/css
text/xml
text/javascript
application/json
application/javascript
application/xml+rss
application/atom+xml
image/svg+xml;
}
}