Nginx结构全解析(122)

2021-05-17 10:42:29 浏览数 (1)

三.参数

  1. #不推荐,这是正则后的值传递给path_info,会不安全
  2. fastcgi_split_path_info ^(. .php)(/. )$;
  3. #通过paht_info变量传递
  4. fastcgi_param PATH_INFO $fastcgi_path_info;
  5. #传递,当前不清楚有何区别
  6. fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
  7. #传递,当前不清楚有何区别
  8. #fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

0 人点赞