-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]After configuring CDN to obtain the real IP for multiple websites in WAF, some work while others do not #7711
Comments
网站用到的 CDN 都是同一个吗? |
Do all websites use the same CDN? |
全部都是cloudflare的cdn,重启服务无效,反复站点的waf开关和站点的cdn开关后生效,另外发现官方的OpenResty代理的个别有nginx请求日志,数据库中没有任何记录。 |
All are cloudflare's CDNs. Restarting the service has no effect. Repeating the waf switch of the site and the cdn switch of the site will take effect. In addition, it is found that some of the official OpenResty agents have nginx request logs and no records in the database. |
比如什么日志? |
For example, what kind of log? |
Contact Information
No response
1Panel Version
v1.10.23-lts
Problem Description
多个网站在waf中分别设置cdn获取真实IP后有的生效有的没起作用
Steps to Reproduce
在WAF全局设置“真实IP获取方式”并打开cdn开关,同时在网站设置中分别设置“真实IP获取方式”并打开cdn开关。“真实IP获取方式”全部是一致的,有的网站生效有的不生效还是获取的CDN的id地址。
The expected correct result
No response
Related log output
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: