当前位置:首页 > 服务器技术 > nginx

nginx gzip配置

 

参考:

https://docs.nginx.com/nginx/admin-guide/web-server/compression/

server {

    gzip on;
    gzip_types text/plain text/css application/xml application/x-javascript text/javascript application/x-httpd-php;
    gzip_min_length 1000;
    gzip_proxied no-cache no-store private expired auth;

}

原文:https://www.cnblogs.com/byeyear/p/9545837.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!