nginx使用伪静态获取访问者ip
location /get_ip {
default_type text/plain;
return 200 "$remote_addr";
}
网址链接:(域名|ip)/get_ip
location /get_ip {
default_type text/plain;
return 200 "$remote_addr";
}
网址链接:(域名|ip)/get_ip
评论 (0)