Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 1181:b8f0362f61e5
Added links to scgi.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 25 Apr 2014 18:01:53 +0400 |
parents | 4c2324a7eeea |
children | 9264fdb6c833 |
comparison
equal
deleted
inserted
replaced
1180:9d3beb5890eb | 1181:b8f0362f61e5 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="32"> | 13 rev="33"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="aio"> | 17 <directive name="aio"> |
18 <syntax> | 18 <syntax> |
590 error_page 404 =200 /empty.gif; | 590 error_page 404 =200 /empty.gif; |
591 </example> | 591 </example> |
592 </para> | 592 </para> |
593 | 593 |
594 <para> | 594 <para> |
595 If an error response is processed by a proxied server or a FastCGI server, | 595 If an error response is processed by a proxied server or a FastCGI/SCGI server, |
596 and the server may return different response codes (e.g., 200, 302, 401 | 596 and the server may return different response codes (e.g., 200, 302, 401 |
597 or 404), it is possible to respond with the code it returns: | 597 or 404), it is possible to respond with the code it returns: |
598 <example> | 598 <example> |
599 error_page 404 = /404.php; | 599 error_page 404 = /404.php; |
600 </example> | 600 </example> |
976 | 976 |
977 <para> | 977 <para> |
978 Rate limit can also be set in the | 978 Rate limit can also be set in the |
979 <header>X-Accel-Limit-Rate</header> header field of a proxied server response. | 979 <header>X-Accel-Limit-Rate</header> header field of a proxied server response. |
980 This capability can be disabled using the | 980 This capability can be disabled using the |
981 <link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/> | 981 <link doc="ngx_http_proxy_module.xml" id="proxy_ignore_headers"/>, |
982 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/>, | |
982 and | 983 and |
983 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_ignore_headers"/> | 984 <link doc="ngx_http_scgi_module.xml" id="scgi_ignore_headers"/> |
984 directives. | 985 directives. |
985 </para> | 986 </para> |
986 | 987 |
987 </directive> | 988 </directive> |
988 | 989 |
2951 <tag-desc> | 2952 <tag-desc> |
2952 request body | 2953 request body |
2953 <para> | 2954 <para> |
2954 The variable’s value is made available in locations | 2955 The variable’s value is made available in locations |
2955 processed by the | 2956 processed by the |
2956 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/> | 2957 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>, |
2958 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>, | |
2957 and | 2959 and |
2958 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/> | 2960 <link doc="ngx_http_scgi_module.xml" id="scgi_pass"/> |
2959 directives. | 2961 directives. |
2960 </para> | 2962 </para> |
2961 </tag-desc> | 2963 </tag-desc> |
2962 | 2964 |
2963 <tag-name id="var_request_body_file"><var>$request_body_file</var></tag-name> | 2965 <tag-name id="var_request_body_file"><var>$request_body_file</var></tag-name> |
2966 <para> | 2968 <para> |
2967 At the end of processing, the file needs to be removed. | 2969 At the end of processing, the file needs to be removed. |
2968 To always write the request body to a file, | 2970 To always write the request body to a file, |
2969 <link id="client_body_in_file_only"/> needs to be enabled. | 2971 <link id="client_body_in_file_only"/> needs to be enabled. |
2970 When the name of a temporary file is passed in a proxied request | 2972 When the name of a temporary file is passed in a proxied request |
2971 or in a request to a FastCGI server, | 2973 or in a request to a FastCGI/SCGI server, |
2972 passing the request body should be disabled by the | 2974 passing the request body should be disabled by the |
2973 <link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body"> | 2975 <link doc="ngx_http_proxy_module.xml" id="proxy_pass_request_body"> |
2974 proxy_pass_request_body off</link> | 2976 proxy_pass_request_body off</link>, |
2975 and | |
2976 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body"> | 2977 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass_request_body"> |
2977 fastcgi_pass_request_body off</link> | 2978 fastcgi_pass_request_body off</link>, or |
2979 <link doc="ngx_http_scgi_module.xml" id="scgi_pass_request_body"> | |
2980 scgi_pass_request_body off</link> | |
2978 directives, respectively. | 2981 directives, respectively. |
2979 </para> | 2982 </para> |
2980 </tag-desc> | 2983 </tag-desc> |
2981 | 2984 |
2982 <tag-name id="var_request_completion"><var>$request_completion</var></tag-name> | 2985 <tag-name id="var_request_completion"><var>$request_completion</var></tag-name> |