Report this

What is the reason for this report?

Load Balancing(NGINX) Help Needed.

Posted on October 6, 2013

Hi, I am working on Load Balancing for my websites… I got this: upstream backend { ny1 192.241.143.207; ny2 162.243.27.154; sf1 162.243.133.133; } The servers host like 7 sites each(all the same files)… What do I put in here: ny1 { location / { proxy_pass http://backend; <-- here } }



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You’re very fast. IT’S OVAR 9000/10 from me. =]

Oh wait! I’ll take a gamble that ny1,ny2,sf1 needs to be server as in the tutorial. I thought it was placeholder.

You don’t need all of these server blocks. You need only one upstream block and server block.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.