1. empty_gif;
    2. }

    Gzip压缩

    1. open_file_cache max=1000 inactive=20s;
    2. open_file_cache_valid 30s;
    3. open_file_cache_min_uses 2;

    SSL缓存

    1. upstream backend {
    2. server 127.0.0.1:8080;
    3. keepalive 32;
    4. server {
    5. ...
    6. proxy_pass http://backend;
    7. proxy_http_version 1.1;
    8. proxy_set_header Connection "";
    9. }
    10. }

    监控