mirror of
https://github.com/nginx/nginx.git
synced 2024-11-28 16:39:00 +08:00
make $arg_ variables non-cacheable
This commit is contained in:
parent
e003988f87
commit
185a5d1726
@ -1937,6 +1937,7 @@ ngx_http_variables_init_vars(ngx_conf_t *cf)
|
||||
if (ngx_strncmp(v[i].name.data, "arg_", 4) == 0) {
|
||||
v[i].get_handler = ngx_http_variable_argument;
|
||||
v[i].data = (uintptr_t) &v[i].name;
|
||||
v[i].flags = NGX_HTTP_VAR_NOCACHEABLE;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user