Hello,
I would like to use Nginx as Load Balancer (traffic). My config is:
upstream storages {
least_conn;
server str1 weight=1 max_fails=1 fail_timeout=10s;
server str2 weight=1 max_fails=1 fail_timeout=10s;
}
server {
listen 80;
server_name verteilen;
location / {
proxy_pass http://storages;
#return 302 $scheme://storages;
}
}
How can I redirect to the server of upstream? With proxy_pass does it work
but I want to move the traffic to several servers.
I just need the "storages" variable.
Sven
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,258940,258940#msg-258940
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx