文章 2024-08-12 来自:开发者社区

运维系列.Nginx中使用HTTP压缩功能(二)

运维系列.Nginx中使用HTTP压缩功能(一):https://developer.aliyun.com/article/1582101 4. 优化Nginx HTTP压缩 4.1 静态文件与动态内容的压缩策略 在Nginx中,对静态文件和动态内容的压缩策略需要分别考虑,因为它们的特性和处理方式有所不同。 对于静态文件,如HTML、CSS、JavaScript、...

文章 2024-08-12 来自:开发者社区

运维系列.Nginx中使用HTTP压缩功能(一)

1. 概述 Web开发中,随着网页内容日益丰富 Web开发中,随着网页内容日益丰富,页面大小不断增加,如何有效减少数据传输量成为了一个关键问题。HTTP压缩技术应运而生,它是一种在服务器和客户端之间传输数据时使用的优化方法。 HTTP压缩的核心思想是在服务器端对响应内容进行压缩,然后发送给客户端,客户端接收到压缩后的数据再进行解压。这个过程可以显著减少传输的数据...

文章 2023-07-06 来自:开发者社区

【2022】Nginx使用ngx_http_upstream_module实现负载均衡功能

负载均衡介绍什么是负载均衡负载均衡(Load Balance),意思是将负载(工作任务,访问请求)进行平衡、分摊到多个操作单元(服务器,组件)上进行执行。为什么需要负载均衡当单台web服务器直接面向用户,可能要承载着大量的并发请求,单台服务器可能难以负荷,我们需要使用多台web服务器组成一个集群,利用Nginx负载均衡功能,将请求分发给不同的后端服务器,实现负载的流量分发,提升整体性能、以及系统....

问答 2023-06-09 来自:开发者社区

SLB 支持和http2,后端挂载的nginx 不支持http2,http2 的服务端推送功能还生效

SLB 支持和http2,后端挂载的nginx 不支持http2,http2 的服务端推送功能还生效么

文章 2023-05-29 来自:开发者社区

重识Nginx - 11 使用ngx_http_proxy_module的proxy_cache搭建一个具备缓存功能的反向代理服务

官网说明 ngx_http_proxy_modulehttps://nginx.org/en/docs/http/ngx_http_proxy_module.htmlproxy_cache_pathSyntax: proxy_cache_path path [levels=levels] [use_temp_path=on|off] keys_zone=name:size [inactive=t....

重识Nginx - 11 使用ngx_http_proxy_module的proxy_cache搭建一个具备缓存功能的反向代理服务
文章 2023-05-29 来自:开发者社区

重识Nginx - 08 使用ngx_http_autoindex_module实现目录浏览功能

ngx_http_autoindex_modulehttps://nginx.org/en/docs/http/ngx_http_autoindex_module.html配置Example Configurationlocation / { autoindex on; }autoindexSyntax: autoindex on | off; Default: autoindex ...

重识Nginx - 08 使用ngx_http_autoindex_module实现目录浏览功能
文章 2017-11-17 来自:开发者社区

企业常用的nginx http功能模块汇总

http_core_module包括一些核心的http参数配置 http_access_module访问控制模块 http_gzip_module压缩模块 http_fastcgi_module  fastcgi模块 http_proxy_module 代理模块 http_upstream_module 负载均衡模块 http_rewrite_module URL地址重写模块 http_...

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"从 HTTP 到 HTTPS 让网站更安全","productDescription":"本方案介绍如何在ECS上搭建Web应用以及在Nginx服务器上部署SSL证书开启HTTPS安全访问。","productContentLink":"https://www.aliyun.com/solution/tech-solution/ssl","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/ssl"},"productButton2":{"productButtonText":"方案部署","productButtonLink":"https://help.aliyun.com/document_detail/2684684.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"通过弹性公网IP确保服务迁移时公网IP不变","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/eip_service","productPromotionInfoSecondText":"网站静态资源访问加速","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/oss-x-cdn"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}