Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 2134:4cafd82e5007
Added info about gRPC to various modules.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 05 Apr 2018 15:59:41 +0300 |
parents | b19d5d47c16c |
children | f6e578b1b02d |
comparison
equal
deleted
inserted
replaced
2133:bb3d2ce5192e | 2134:4cafd82e5007 |
---|---|
658 </example> | 658 </example> |
659 </para> | 659 </para> |
660 | 660 |
661 <para> | 661 <para> |
662 If an error response is processed by a proxied server | 662 If an error response is processed by a proxied server |
663 or a FastCGI/uwsgi/SCGI server, | 663 or a FastCGI/uwsgi/SCGI/gRPC server, |
664 and the server may return different response codes (e.g., 200, 302, 401 | 664 and the server may return different response codes (e.g., 200, 302, 401 |
665 or 404), it is possible to respond with the code it returns: | 665 or 404), it is possible to respond with the code it returns: |
666 <example> | 666 <example> |
667 error_page 404 = /404.php; | 667 error_page 404 = /404.php; |
668 </example> | 668 </example> |
1625 If a location is defined by a prefix string that ends with the slash character, | 1625 If a location is defined by a prefix string that ends with the slash character, |
1626 and requests are processed by one of | 1626 and requests are processed by one of |
1627 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>, | 1627 <link doc="ngx_http_proxy_module.xml" id="proxy_pass"/>, |
1628 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>, | 1628 <link doc="ngx_http_fastcgi_module.xml" id="fastcgi_pass"/>, |
1629 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_pass"/>, | 1629 <link doc="ngx_http_uwsgi_module.xml" id="uwsgi_pass"/>, |
1630 <link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>, or | 1630 <link doc="ngx_http_scgi_module.xml" id="scgi_pass"/>, |
1631 <link doc="ngx_http_memcached_module.xml" id="memcached_pass"/>, | 1631 <link doc="ngx_http_memcached_module.xml" id="memcached_pass"/>, or |
1632 <link doc="ngx_http_grpc_module.xml" id="grpc_pass"/>, | |
1632 then the special processing is performed. | 1633 then the special processing is performed. |
1633 In response to a request with URI equal to this string, | 1634 In response to a request with URI equal to this string, |
1634 but without the trailing slash, | 1635 but without the trailing slash, |
1635 a permanent redirect with the code 301 will be returned to the requested URI | 1636 a permanent redirect with the code 301 will be returned to the requested URI |
1636 with the slash appended. | 1637 with the slash appended. |