随笔分类 - 服务器相关
摘要:Nginx 可以通过 gzip 压缩减小传输的流量,加快网站的访问速度。下面是 Nginx 开启 gzip 的配置方法: 打开 Nginx 配置文件: 复制$ sudo nano /etc/nginx/nginx.conf 搜索 gzip 配置项: 复制# gzip types gzip on; g
阅读全文
摘要: 100 "continue" 101 "switching protocols" 102 "processing" 200 "ok" 201 "created" 202 "accepted" 203 "non authoritative information" 20
阅读全文