用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
# 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; } ```