fix protocol version issue
This commit is contained in:
parent
4a3fafa9e5
commit
783cff28e6
|
@ -258,7 +258,6 @@ server {
|
||||||
access_log off; # do not log traffic
|
access_log off; # do not log traffic
|
||||||
|
|
||||||
proxy_cache skynet;
|
proxy_cache skynet;
|
||||||
proxy_http_version 1.1; # upgrade if necessary
|
|
||||||
proxy_cache_key publickey=$arg_publickey&datakey=$arg_datakey; # cache based on publickey and datakey
|
proxy_cache_key publickey=$arg_publickey&datakey=$arg_datakey; # cache based on publickey and datakey
|
||||||
proxy_cache_valid 200 30s; # cache only 200 responses and only for 30 seconds
|
proxy_cache_valid 200 30s; # cache only 200 responses and only for 30 seconds
|
||||||
proxy_cache_lock on; # queue cache requests for the same resource until it is fully cached
|
proxy_cache_lock on; # queue cache requests for the same resource until it is fully cached
|
||||||
|
|
Reference in New Issue