最后活跃于 2 years ago

Malin's Avatar Malin 修订了这个 Gist 2 years ago. 转到此修订

1 file changed, 4 insertions

proxy-protocol-nginx.conf(文件已创建)

@@ -0,0 +1,4 @@
1 + set_real_ip_from 104.16.0.0/12
2 + set_real_ip_from 172.64.0.0/13
3 + real_ip_header proxy_protocol; # proxy_protocol needed
4 + real_ip_recursive on;
上一页 下一页