标签:
upstream www.***.com { server 192.168.2.72:80; server 192.168.2.4:80; server 192.168.2.5:80; } server { listen 80; server_name www.***.com; #charset koi8-r; #access_log logs/host.access.log main; location / { proxy_pass http://www.***.com; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
标签:
原文地址:http://www.cnblogs.com/LoveJulin/p/5498901.html