Help Articles
search
How to obtain the user's real IP address after connecting to CDN
Category: CDN related
author: Lan
Time: 2025-07-08
Read: 200

1. Click Nginx

2. Select configuration modification
Baota panel, after CDN, get the user's real IP

3. Fill in the following code in the position above

set_real_ip_from 0.0.0.0/0;
real_ip_header X-Real-IP;
上一篇:How to set up automatic synchronization of server time in Baota panel
下一篇:The steps to mount /dev/sda4 to /www in rescue mode of CentOS 7.9 are as follows
Customer Service
Pre sales consultation
在线客服
after-sale service
24/7 operation and maintenance
运维客服
Feedback
Complaints and Suggestions
投诉与建议
置顶