diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:35:01 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-06-26 02:35:01 +0400 |
commit | 46ac5c760c0d460cbbd8e23a1154326569559e3d (patch) | |
tree | 1b56af75bdd9b047c64aa9ef027e69b5b05a2355 /src/http/modules/ngx_http_uwsgi_module.c | |
parent | b8129616776a6973b314f71901420ad6d38aa579 (diff) | |
download | nginx-46ac5c760c0d460cbbd8e23a1154326569559e3d.tar.gz nginx-46ac5c760c0d460cbbd8e23a1154326569559e3d.zip |
Upstream: cache revalidation using If-None-Match.
Diffstat (limited to 'src/http/modules/ngx_http_uwsgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_uwsgi_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c index 1d515cdf5..588b13547 100644 --- a/src/http/modules/ngx_http_uwsgi_module.c +++ b/src/http/modules/ngx_http_uwsgi_module.c @@ -507,7 +507,7 @@ static ngx_keyval_t ngx_http_uwsgi_cache_headers[] = { { ngx_string("HTTP_IF_MODIFIED_SINCE"), ngx_string("$upstream_cache_last_modified") }, { ngx_string("HTTP_IF_UNMODIFIED_SINCE"), ngx_string("") }, - { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("") }, + { ngx_string("HTTP_IF_NONE_MATCH"), ngx_string("$upstream_cache_etag") }, { ngx_string("HTTP_IF_MATCH"), ngx_string("") }, { ngx_string("HTTP_RANGE"), ngx_string("") }, { ngx_string("HTTP_IF_RANGE"), ngx_string("") }, |