thinkphp6在nginx为web服务器下设置影藏index.php
2022-11-24 11:10:29
144
{{single.collect_count}}
server {listen80;server_namewww.jftp6.com;root "D:/code/jflm/public";location / {index index.php index.html error/index.html;if ( !-e $request_filename) {rewrite ^/(.*)$ /index.php/$1 last;}}location ~ \.php(.*)$ {fastcgi_pass 127.0.0.1:9000;fastcgi_indexindex.php;fastcgi_split_path_info^((?U).+\.php)(/?.+)$;fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;fastcgi_paramPATH_INFO$fastcgi_path_info;fastcgi_paramPATH_TRANSLATED$document_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 ? '加载中...' : '查看更多评论'}}