annotate conf/fastcgi.conf @ 676:bfa81a0490a2 NGINX_1_3_1

nginx 1.3.1 *) Security: now nginx/Windows ignores trailing dot in URI path component, and does not allow URIs with ":$" in it. Thanks to Vladimir Kochetkov, Positive Research Center. *) Feature: the "proxy_pass", "fastcgi_pass", "scgi_pass", "uwsgi_pass" directives, and the "server" directive inside the "upstream" block, now support IPv6 addresses. *) Feature: the "resolver" directive now support IPv6 addresses and an optional port specification. *) Feature: the "least_conn" directive inside the "upstream" block. *) Feature: it is now possible to specify a weight for servers while using the "ip_hash" directive. *) Bugfix: a segmentation fault might occur in a worker process if the "image_filter" directive was used; the bug had appeared in 1.3.0. *) Bugfix: nginx could not be built with ngx_cpp_test_module; the bug had appeared in 1.1.12. *) Bugfix: access to variables from SSI and embedded perl module might not work after reconfiguration. Thanks to Yichun Zhang. *) Bugfix: in the ngx_http_xslt_filter_module. Thanks to Kuramoto Eiji. *) Bugfix: memory leak if $geoip_org variable was used. Thanks to Denis F. Latypoff. *) Bugfix: in the "proxy_cookie_domain" and "proxy_cookie_path" directives.
author Igor Sysoev <http://sysoev.ru>
date Tue, 05 Jun 2012 00:00:00 +0400
parents 9d21dad0b5a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
556
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 fastcgi_param QUERY_STRING $query_string;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 fastcgi_param REQUEST_METHOD $request_method;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5 fastcgi_param CONTENT_TYPE $content_type;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 fastcgi_param CONTENT_LENGTH $content_length;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 fastcgi_param SCRIPT_NAME $fastcgi_script_name;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 fastcgi_param REQUEST_URI $request_uri;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 fastcgi_param DOCUMENT_URI $document_uri;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 fastcgi_param DOCUMENT_ROOT $document_root;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 fastcgi_param SERVER_PROTOCOL $server_protocol;
656
9d21dad0b5a1 nginx 1.1.12
Igor Sysoev <http://sysoev.ru>
parents: 556
diff changeset
13 fastcgi_param HTTPS $https if_not_empty;
556
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 fastcgi_param GATEWAY_INTERFACE CGI/1.1;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 fastcgi_param REMOTE_ADDR $remote_addr;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 fastcgi_param REMOTE_PORT $remote_port;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20 fastcgi_param SERVER_ADDR $server_addr;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 fastcgi_param SERVER_PORT $server_port;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 fastcgi_param SERVER_NAME $server_name;
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 # PHP only, required if PHP was built with --enable-force-cgi-redirect
25255878df91 nginx 0.8.30
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 fastcgi_param REDIRECT_STATUS 200;