💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 反向代理配置 nginx 的一段反向代理配置 ``` server { listen 80; server\_name local.voidking.com; charset utf-8; location /{ proxy\_set\_header Host $host; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header X-Forwarded-For $proxy\_add\_x\_forwarded\_for; client\_max\_body\_size 1024m; client\_body\_buffer\_size 128k; client\_body\_temp\_path data/client\_body\_temp; proxy\_connect\_timeout 90; proxy\_send\_timeout 90; proxy\_read\_timeout 90; proxy\_buffer\_size 4k; proxy\_buffers 4 32k; proxy\_busy\_buffers\_size 64k; proxy\_temp\_file\_write\_size 64k; proxy\_temp\_path data/proxy\_temp; proxy\_pass http://127.0.0.1:8090; } ``` ## nginx部署vue项目 ``` conf location /card-admin/ { alias /opt/card/card-admin/card-admin/; try\_files $uri $uri/ /index.html last; } ``` ## 413 Request Entity Too Large 在http块中新增如下配置: ``` conf client_max_body_size 10m; ```