文章分类 - nginx
摘要:网关层限流 限流常在网关这一层做,比如Nginx http { limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; server { location /search/ { limit_req zone=one burst=5 nod
阅读全文
摘要:gizp配置: gzip 相关配置可放在 http{} 或 server{} 或 location{} 层级,若不同层级有重复设置优先级为 location{} > server{} > http{} gzip on; gzip_min_length 1k; gzip_buffers 4 16k;
阅读全文

浙公网安备 33010602011771号