1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[BUG] 网站监控功能,URL统计错误

Open AnkioTomas opened this issue 1 year ago • 3 comments

联系方式

[email protected]

1Panel 版本

v1.10.20-lts

问题描述

在网站监控功能中,只能统计到index.php的请求,而不是实际访问的uri

重现步骤

php使用的伪静态转发规则,转发到index.php

 rewrite ^(.*)$ /index.php/$1 last;

查看统计数据,只能统计到index.php image

期待的正确结果

统计实际访问的url路径

相关日志输出

No response

附加信息

No response

AnkioTomas avatar Oct 31 '24 03:10 AnkioTomas

看一下请求日志中的数据

zhengkunwang223 avatar Oct 31 '24 05:10 zhengkunwang223

nginx 1730353956252 php容器 image

AnkioTomas avatar Oct 31 '24 05:10 AnkioTomas

好的 我们看一下

zhengkunwang223 avatar Oct 31 '24 08:10 zhengkunwang223

v2.0.0 版本已发布。

wanghe-fit2cloud avatar Jun 12 '25 05:06 wanghe-fit2cloud