Update config files
This commit is contained in:
@ -66,18 +66,10 @@ http {
|
||||
resolver 127.0.0.1 [::1];
|
||||
resolver_timeout 2s;
|
||||
root /var/www/html;
|
||||
proxy_cache_path /var/lib/nginx/cache levels=2 keys_zone=cache:10m inactive=30d max_size=1g;
|
||||
proxy_cache_revalidate on;
|
||||
proxy_cache_use_stale http_503 timeout updating error;
|
||||
proxy_no_cache $http_pragma $http_authorization;
|
||||
proxy_cache_bypass $cookie_nocache $arg_nocache;
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' '';
|
||||
}
|
||||
proxy_cache_lock_timeout 2m;
|
||||
proxy_cache_lock_age 2m;
|
||||
proxy_cache cache;
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffer_size 8k;
|
||||
proxy_buffering off;
|
||||
@ -88,7 +80,6 @@ http {
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_ignore_client_abort on;
|
||||
proxy_cache_key $server_name$request_method$host$request_uri;
|
||||
proxy_read_timeout 3600; #wait up to 60 minutes for e.g. database import
|
||||
|
||||
##
|
||||
|
Reference in New Issue
Block a user