|
|
@@ -19,25 +19,26 @@ events {
|
|
|
}
|
|
|
|
|
|
http {
|
|
|
- include /etc/nginx/mime.types;
|
|
|
- default_type application/octet-stream;
|
|
|
- sendfile on;
|
|
|
- server_tokens off;
|
|
|
- tcp_nopush on;
|
|
|
- tcp_nodelay on;
|
|
|
- client_body_temp_path /tmp/nginx/body 1 2;
|
|
|
- keepalive_timeout 65;
|
|
|
- ssl_prefer_server_ciphers on;
|
|
|
- gzip on;
|
|
|
- proxy_ignore_client_abort off;
|
|
|
- client_max_body_size 2000m;
|
|
|
- proxy_http_version 1.1;
|
|
|
- proxy_set_header X-Forwarded-Scheme $scheme;
|
|
|
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
- proxy_set_header Accept-Encoding "";
|
|
|
- proxy_cache off;
|
|
|
- proxy_cache_path /var/lib/nginx/cache/public levels=1:2 keys_zone=public-cache:30m max_size=192m;
|
|
|
- proxy_cache_path /var/lib/nginx/cache/private levels=1:2 keys_zone=private-cache:5m max_size=1024m;
|
|
|
+ include /etc/nginx/mime.types;
|
|
|
+ default_type application/octet-stream;
|
|
|
+ sendfile on;
|
|
|
+ server_tokens off;
|
|
|
+ tcp_nopush on;
|
|
|
+ tcp_nodelay on;
|
|
|
+ client_body_temp_path /tmp/nginx/body 1 2;
|
|
|
+ keepalive_timeout 65;
|
|
|
+ ssl_prefer_server_ciphers on;
|
|
|
+ gzip on;
|
|
|
+ proxy_ignore_client_abort off;
|
|
|
+ client_max_body_size 2000m;
|
|
|
+ server_names_hash_bucket_size 64;
|
|
|
+ proxy_http_version 1.1;
|
|
|
+ proxy_set_header X-Forwarded-Scheme $scheme;
|
|
|
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
+ proxy_set_header Accept-Encoding "";
|
|
|
+ proxy_cache off;
|
|
|
+ proxy_cache_path /var/lib/nginx/cache/public levels=1:2 keys_zone=public-cache:30m max_size=192m;
|
|
|
+ proxy_cache_path /var/lib/nginx/cache/private levels=1:2 keys_zone=private-cache:5m max_size=1024m;
|
|
|
|
|
|
# MISS
|
|
|
# BYPASS
|