💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# Nginx配置案例 ```nginx server { #监听端口号 listen 80; #域名 server_name www.php7.tt; #网站目录 root /home/web/php7/; location /{ ssi on; ssi_silent_errors on; index index.php index.html index.htm; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } #nginx开启rewrite if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } #nginx开启二级域名 location /youdomain/ { if (!-e $request_filename){ rewrite ^/youdomain/(.*)$ /youdomain/index.php?s=/$1 last; } } access_log /usr/local/nginx/logs/php7_access.log; error_log /usr/local/nginx/logs/php7_error.log; } ```