mirror of
https://github.com/nginx/nginx.git
synced 2026-07-01 06:11:50 +00:00
make $request_method non-cacheable
This commit is contained in:
parent
ff1a888caf
commit
1ee4b09091
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ static ngx_http_variable_t ngx_http_core_variables[] = {
|
|||
{ ngx_string("server_name"), NULL, ngx_http_variable_server_name, 0, 0, 0 },
|
||||
|
||||
{ ngx_string("request_method"), NULL,
|
||||
ngx_http_variable_request_method, 0, 0, 0 },
|
||||
ngx_http_variable_request_method, 0,
|
||||
NGX_HTTP_VAR_NOCACHEABLE, 0 },
|
||||
|
||||
{ ngx_string("remote_user"), NULL, ngx_http_variable_remote_user, 0, 0, 0 },
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue