annotate conf/scgi_params @ 4035:c2a91088b0c0
Now if total size of all ranges is greater than source response size,
then nginx disables ranges and returns just the source response.
This fix should not affect well-behaving applications but will defeat
DoS attempts exploiting malicious byte ranges.
author |
Igor Sysoev <igor@sysoev.ru> |
date |
Fri, 26 Aug 2011 09:42:50 +0000 |
parents |
d656caa72ec9 |
children |
352a7b025f2e |
rev |
line source |
3637
|
1
|
|
2 scgi_param REQUEST_METHOD $request_method;
|
|
3 scgi_param REQUEST_URI $request_uri;
|
|
4 scgi_param QUERY_STRING $query_string;
|
|
5 scgi_param CONTENT_TYPE $content_type;
|
|
6
|
|
7 scgi_param DOCUMENT_URI $document_uri;
|
|
8 scgi_param DOCUMENT_ROOT $document_root;
|
|
9 scgi_param SCGI 1;
|
|
10 scgi_param SERVER_PROTOCOL $server_protocol;
|
|
11
|
|
12 scgi_param REMOTE_ADDR $remote_addr;
|
|
13 scgi_param REMOTE_PORT $remote_port;
|
|
14 scgi_param SERVER_PORT $server_port;
|
|
15 scgi_param SERVER_NAME $server_name;
|