親子日記APP
|
免費申請
|
登入
mini box 迷你盒子
這裡是工程師的筆記資料.
部落格
相簿
APP日記
書籤
標籤:nidBox 中所有
X-FORWARDED-FOR
相關日記
Cloudflare 取得用戶真實 IP 的方式
mini
Apache httpd 記錄用戶真實 IP LogFormat "%h %l %u %t \"%r\" %>s %b" common 改為LogFormat "%h %l %u %t \"%r\" %>s %b %{X-Forwarded-For}i" common nginx 記錄用戶真實 IP方法一: 使用 x_forwarded_for(remote_addr 仍會是 Cloudflare 的 IP)...