comparison xml/en/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="Module ngx_http_fastcgi_module" 10 <module name="Module ngx_http_fastcgi_module"
11 link="/en/docs/http/ngx_http_fastcgi_module.html" 11 link="/en/docs/http/ngx_http_fastcgi_module.html"
12 lang="en" 12 lang="en"
13 rev="49"> 13 rev="50">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_fastcgi_module</literal> module allows passing 18 The <literal>ngx_http_fastcgi_module</literal> module allows passing
784 received from a FastCGI server. 784 received from a FastCGI server.
785 If the <value>string</value> is found then it is considered that the FastCGI 785 If the <value>string</value> is found then it is considered that the FastCGI
786 server has returned an <link id="fastcgi_next_upstream">invalid response</link>. 786 server has returned an <link id="fastcgi_next_upstream">invalid response</link>.
787 This allows handling application errors in nginx, for example: 787 This allows handling application errors in nginx, for example:
788 <example> 788 <example>
789 location /php { 789 location /php/ {
790 fastcgi_pass backend:9000; 790 fastcgi_pass backend:9000;
791 ... 791 ...
792 fastcgi_catch_stderr "PHP Fatal error"; 792 fastcgi_catch_stderr "PHP Fatal error";
793 fastcgi_next_upstream error timeout invalid_header; 793 fastcgi_next_upstream error timeout invalid_header;
794 } 794 }