nginx的fastcgi_param参数详解

时间:2023-03-09 08:40:22
nginx的fastcgi_param参数详解

在配置nginx的时候,有很多fastcgi_param参数,具体对应是什么值呢

引入:fastcgi_params 文件:

nginx的fastcgi_param参数详解

fastcgi_params文件具体内容:

nginx的fastcgi_param参数详解

postman 发送请求:

nginx的fastcgi_param参数详解

nginx_version : 1.11.6
query_string : r=abc
request_method : POST
content_type : application/x-www-form-urlencoded
content_length : 0
document_root : /tool-edu/web
fastcgi_script_name : /index.php/site/index
request_uri : /index.php/site/index?r=abc
document_uri : /index.php/site/index
server_protocol : HTTP/1.1
remote_addr : 192.168.1.106
remote_port : 59696
server_addr : 192.168.1.113
server_port : 80
server_name : www.tool-edu.com