summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-07-09 14:53:42 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-07-09 14:53:42 +0000
commit1b77858ac56ed4c304d7265f0691772f30e8dccb (patch)
tree1287ce0eb6ff25874bf85729115f3f2c44d8dd09 /src/http/ngx_http_core_module.h
parenteb7c38a49ae11d9084969790f0b86d75cc1f11c7 (diff)
downloadnginx-1b77858ac56ed4c304d7265f0691772f30e8dccb.tar.gz
nginx-1b77858ac56ed4c304d7265f0691772f30e8dccb.tar.bz2
Entity tags: the "etag" directive.
It allows to disable generation of nginx's own entity tags, while still handling ETags in cache properly. This may be useful e.g. if one want to serve static files from servers with different ETag generation algorithms.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 52b3dde3c..b11bdcd90 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -392,6 +392,7 @@ struct ngx_http_core_loc_conf_s {
ngx_flag_t recursive_error_pages; /* recursive_error_pages */
ngx_flag_t server_tokens; /* server_tokens */
ngx_flag_t chunked_transfer_encoding; /* chunked_transfer_encoding */
+ ngx_flag_t etag; /* etag */
#if (NGX_HTTP_GZIP)
ngx_flag_t gzip_vary; /* gzip_vary */