解决nginx gzip 对html页面不生效问题
source link: https://blog.p2hp.com/archives/9755
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
解决nginx gzip 对html页面不生效问题
gzip_types 添加 text/html类型:
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/html text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
- admin发表在《博客声明》
- ke发表在《使用FFMPEG生成HLS》
- XRumerTest发表在《Ubuntu 命令技巧》
- order online canada发表在《PHP 知识补全 —— 生成器 (generator)和协程的实现》
- manicure发表在《PHP 7 性能改进 (1/5): Packed arrays》
- James发表在《php实现协程,真正的异步》
- https://www.viagrasansordonnancefr.com/achat-sildenafil-citrate-bodybuilding/发表在《文件服务器集群 采用Rsync+sersync同步主从文件FTP》
- ssss发表在《PHP 知识补全 —— 生成器 (generator)和协程的实现》
- manicure发表在《PHP 7 性能改进 (1/5): Packed arrays》
- 聂永发表在《Tsung笔记之主从资源协调篇》
- Apache (18)
- Go (6)
- Linux (75)
- Mac OS (16)
- Mysql (193)
- Nginx (77)
- Nosql (44)
- PHP (633)
- Vim (9)
- web前端 (258)
- Wordpress (8)
- 个人日志 (36)
- 云计算 (2)
- 人工智能 (7)
- 创业 (10)
- 工具 (81)
- 建站 (74)
- 开源 (8)
- 收费 (10)
- 架构 (114)
- 概念 (147)
- 物联网 (18)
- 移动互联网 (10)
- 编程 (202)
- 趋势 (7)
- 音视频 (19)
归档
分类总数:26个 标签总数:336个
友情链接:13个 网站运行:3898天
最后更新:2022年10月7日
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK