Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_fastcgi_module.xml @ 2206:5cacd6fffade
Eliminated some examples of unsafe prefix locations.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 27 Apr 2018 09:59:51 +0300 |
parents | a9a9a052b5bd |
children | d765ffffd08c |
comparison
equal
deleted
inserted
replaced
2205:e325638a6f34 | 2206:5cacd6fffade |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_http_fastcgi_module" | 10 <module name="Модуль ngx_http_fastcgi_module" |
11 link="/ru/docs/http/ngx_http_fastcgi_module.html" | 11 link="/ru/docs/http/ngx_http_fastcgi_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="49"> | 13 rev="50"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 Модуль <literal>ngx_http_fastcgi_module</literal> позволяет передавать | 18 Модуль <literal>ngx_http_fastcgi_module</literal> позволяет передавать |
786 полученного от FastCGI-сервера. | 786 полученного от FastCGI-сервера. |
787 Если <value>строка</value> найдена, то считается, что FastCGI-сервер | 787 Если <value>строка</value> найдена, то считается, что FastCGI-сервер |
788 вернул <link id="fastcgi_next_upstream">неверный ответ</link>. | 788 вернул <link id="fastcgi_next_upstream">неверный ответ</link>. |
789 Это позволяет обрабатывать ошибки приложений в nginx, например: | 789 Это позволяет обрабатывать ошибки приложений в nginx, например: |
790 <example> | 790 <example> |
791 location /php { | 791 location /php/ { |
792 fastcgi_pass backend:9000; | 792 fastcgi_pass backend:9000; |
793 ... | 793 ... |
794 fastcgi_catch_stderr "PHP Fatal error"; | 794 fastcgi_catch_stderr "PHP Fatal error"; |
795 fastcgi_next_upstream error timeout invalid_header; | 795 fastcgi_next_upstream error timeout invalid_header; |
796 } | 796 } |