💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
**常见Nginx中间架构** 一、静态资源WEB服务 二、代理服务 三、负载均衡调度器SLB 四、动态缓存 ![](../../../images/screenshot_1553151920630.png) 2、静态资源服务场景-CDN ![](../../../images/screenshot_1553152017702.png) 3、配置语法 ``` -文件读取 Syntax:sendfile on | off; Default: sendfile off; Context:http,server,location,if in location - Syntax: tcp_nopush on | off;多个包进行整合 Default: tcp_nopush off; Context:http,server,location 需要在sendfile开启下才可用,适合大文件 - Syntax: tcp_nodelay on | off; keepalive连接下,提高网络包的传输实时性 -压缩 Syntax: gzip on | off; 压缩传输 -压缩比 Syntax: gzip_comp_level level; ``` 4、浏览器缓存原理 ![](../../../images/screenshot_1553481083674.png)