标签存档: 反向代理

nginx反向代理(ghs.google.com)

设置ghs.google.com代理

 


				upstream ghs {

				ip_hash;

				server ghs.google.com;

				server 72.14.203.121;

				server 72.14.207.121;

				server 74.125.43.121;

				server 74.125.47.121;

				server 74.125.53.121;

				server 74.125.77.121;

				server 74.125.93.121;

				server 74.125.95.121;

				server 74.125.113.121;

				server 216.239.32.21;

				server 216.239.34.21;

				server 216.239.36.21;

				}

				server {

				listen 80;

				server_name www.fengsage.com;

				location / {

				proxy_set_header Host $host;

				proxy_pass http://ghs;

				proxy_set_header X-Real-IP  $remote_addr;

				proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

				}

				}

				}

				upstream 设置轮询服务IP,其实设置一个ghs.google.com就可以了,因为本身就是googleCDNS网络