Mercurial > hg > nginx-site
changeset 239:fe72da550150
"fastcgi_param" directive has new parameter "if_not_empty".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 13 Dec 2011 20:24:17 +0000 |
parents | e33fc8541217 |
children | 472e88bf177e |
files | xml/ru/docs/http/ngx_http_fastcgi_module.xml |
diffstat | 1 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Dec 13 20:23:07 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_fastcgi_module.xml Tue Dec 13 20:24:17 2011 +0000 @@ -406,7 +406,10 @@ <directive name="fastcgi_param"> -<syntax><value>параметр значение</value></syntax> +<syntax> + <argument>параметр значение</argument> + [<parameter>if_not_empty</parameter>] +</syntax> <default/> <context>http, server, location</context> @@ -414,7 +417,7 @@ Директива задаёт параметр, который будут передаваться FastCGI-серверу. В качестве значения можно использовать текст, переменные и их комбинации. Директивы наследуются с предыдущего уровня при условии, что на данном -уровне не описаны свои директивы fastcgi_param. +уровне не описаны свои директивы <code>fastcgi_param</code>. </para> <para> @@ -448,6 +451,14 @@ </example> </para> +<para> +Если директива указана с флагом <parameter>if_not_empty</parameter> (1.1.11), +то такой параметр с пустым значением передаваться на сервер не будет: +<example> +fastcgi_param HTTPS $https if_not_empty; +</example> +</para> + </directive>