可透過Nginx X-Forwarded-For 及Host 的proxy_set_header 函式,取得用戶真實IP,並加入判斷式 ... proxy_set_header X-Forwarded-Port $server_port;.
確定! 回上一頁