dushaoshuai / dushaoshuai.github.io

https://www.shuai.host
0 stars 0 forks source link

nginx and client IP #96

Open dushaoshuai opened 1 year ago

dushaoshuai commented 1 year ago

https://nginx.org/en/docs/http/ngx_http_proxy_module.html#var_proxy_add_x_forwarded_for

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#selecting_an_ip_address

https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/

https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/#passing-request-headers

https://www.nginx.com/resources/wiki/start/topics/examples/headers_management/#:~:text=may%20consist%20of-,more%20then%20one%20value,-(Cookies%20or%20Cache

dushaoshuai commented 1 year ago

这两个链接没什么用: