Nginx Fastcgi_param Explanation

Source: Internet
Author: User

Fastcgi_param script_filename $document _root$fastcgi_script_name, #脚本文件请求的路径fastcgi_param query_string $query _                        String                    #请求的参数, such as App=123fastcgi_param Request_method $request _method;                        #请求的动作 (get,post) fastcgi_param content_type $content _type;                    #请求头中的Content-type field Fastcgi_param content_length $content _length; #请求头中的Content the-length field.                  Fastcgi_param script_name $fastcgi _script_name;                          #脚本名称 fastcgi_param Request_uri $request _uri;                        #请求的地址不带参数fastcgi_param Document_uri $document _uri; #与 $uri the same.                      Fastcgi_param document_root $document _root; #网站的根目录.                  The value specified in the root directive in the SERVER configuration Fastcgi_param server_protocol $server _protocol; #请求使用的协议, usually http/1.0 or http/1.1.                         Fastcgi_param Gateway_interface cgi/1.1;              #cgi version Fastcgi_param server_software nginx/$nginx _version; #nginx version number, you can modify, hide Fastcgi_param remote_addr $remote _addr;                          #客户端IPfastcgi_param Remote_port $remote _port;                          #客户端端口fastcgi_param server_addr $server _addr;                          #服务器IP地址fastcgi_param server_port $server _port;                          #服务器端口fastcgi_param server_name $server _name; #服务器名, the server_name specified by the domain name in the server configuration
#fastcgi_param path_info $path _info; #可自定义变量 #php only, required if PHP is built with--enable-force-cgi-redirect#fastcgi_param Redirect_status 200; In PHP you can print out the above service environment variables such as: Echo $_server[' REMOTE_ADDR ']



Nginx Fastcgi_param Explanation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.