多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 注意只是最后一小段 ``` #START-SITE server { listen 80; server_name tanyu.natapp1.cc; access_log logs/tanyu.natapp1.cc.access.log; root E:/wwwroot/public; index index.php default.php index.html index.htm default.html default.htm; include rewrite/tanyu.natapp1.cc.conf; #START-ERROR-PAGE error_page 403 /403.html; error_page 404 /404.html; error_page 502 /502.html; #END-ERROR-PAGE #301-START #301-END #REFERER-START #REFERER-END #PROXY-START #PROXY-END #START-SSL #END-SSL #START-PHP location ~ \.php$ { root E:/wwwroot/public; fastcgi_pass 127.0.0.1:4570; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } #END-PHP ### laravel Nginx下伪静态配置 try_files $uri $uri/ @rewrite; location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } ##添加end } #END-SITE ```