1.點選Nginx
2.選擇設定修改寶塔面板,套CDN後,取得使用者真實IP
3.在上圖位置填入以下程式碼
set_real_ip_from 0.0.0.0/0; real_ip_header X-Real-IP;