thinkphp5 nginx配置
2022-07-28 14:14:58
170
{{single.collect_count}}

thinkphp5 nginx配置

thinkphp5 nginx配置

server {listen80;server_namewww.tp.com;set $web_root /www/www.tp.com/public;root $web_root;indexindex.php index.html;location / {index index.php index.html;autoindexoff;if (!-e $request_filename) {rewrite^(.*)$/index.php?s=/$1last;}} location ~ .php { fastcgi_pass 127.0.0.1:9000; fastcgi_indexindex.php; fastcgi_split_path_info^((?U).+\.php)(/?.+)$; fastcgi_paramPATH_INFO $fastcgi_path_info; fastcgi_paramSCRIPT_FILENAME$web_root$fastcgi_script_name; fastcgi_paramPATH_TRANSLATED$web_root$fastcgi_path_info; includefastcgi_params;}}
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}