empty_gif;
}
Gzip压缩
open_file_cache max=1000 inactive=20s;
open_file_cache_valid 30s;
open_file_cache_min_uses 2;
SSL缓存
upstream backend {
server 127.0.0.1:8080;
keepalive 32;
server {
...
proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Connection "";
}
}