💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
支持path info,官方配置文件直接修改: ~~~ location ~ \.php(.*)$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $1; # 把pathinfo赋给PATH_INFO变量 include fastcgi_params; } ~~~ 划分配置文件方式: ~~~ include php/php-7.4.conf; ~~~ ~~~ location ~ [^/]\.php(/|$) { fastcgi_pass 127.0.0.1:9010; fastcgi_index index.php; include php/pathinfo.conf; include fastcgi.conf; } ~~~ ~~~ fastcgi_split_path_info ^(.+?\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; ~~~