Question

Load Balancing(NGINX) Help Needed.

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 } }


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Yes, updated some of them, and some still doing. :) <br>I managed to fix the pdo thing, I didn’t have mysql installed so I had to run: <br>sudo apt-get install php5-mysql <br>to get the drivers.

Did you update your websites with the new location of the MySQL server?