Bili_Wind

Results 20 comments of Bili_Wind

有点不理解你说的多端口是什么意思,我是一个服务器转发多个服务进内网后端,使用的方案是TCP隧道+nginx反代+后端nginx,首先在公网服务器上使用nginx监控80、443(nps的http(s)改为了180(1443))或者其他端口用于web,使用nps监控其他tcp端口如122映射进内网某机器的22端口,最终我可以将a.exp.com b.exp.com同时解析到转发服务器,流量会经过nginx反代以及nps TCP隧道后来到后端nginx,并且后端nginx根据host判断应该访问哪个网站或服务

我的处理方法是使用nginx作为入口,反向代理TCP隧道的端口,这样可以将用户的ip信息加进http头中

有具体的报错吗,或者说描述一下https不可以是怎么一个不可以

抱歉我理解错了,尝试在后端(若为nginx)加入 ``` set_real_ip_from 0.0.0.0/0; real_ip_header X-Forwarded-For; ``` 如果它获取到了错误的IP,请继续尝试将上述内容修改为: ``` set_real_ip_from 0.0.0.0/0; real_ip_header X-Real-IP; ```

在我的技术能力内我认为不对后端nginx做出设置无法达到获取真实IP的目的,但你也许可以看看这个分支,这个分支修复了很多nps的bug,并且加入了更多技术细节 [https://github.com/yisier/nps](https://github.com/yisier/nps)

是的,nps的原作者貌似已经停止更新,但幸运的是有大佬接手了开发工作并在另一个仓库继续维护

[matomo_system_check.txt](https://github.com/matomo-org/tag-manager/files/14382361/matomo_system_check.txt) this file is from here: ![Clip_2024-02-23_14-49-28](https://github.com/matomo-org/tag-manager/assets/78078552/1b92bf9c-7cd1-412e-b571-79296f5326df)

I weighed the pros and cons and finally decided to leave debug mode open for about 1 week to help you guys look into this weird issue [biliwind.com on debug...

Well, I thought of another possibility, maybe because of the browser language? but I'm sorry I didn't have enough time to test this idea, my browser is in Chinese Simplified,...

挺期待k8s支持的