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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
I had the same error but mine was i forgot to put the semi colon after the proxy_pass line
The lines below are where we need to look:
Jan 17 23:33:18 web nginx[11971]: nginx: [emerg] "location" directive is not all
Jan 17 23:33:18 web nginx[11971]: nginx: configuration file /etc/nginx/nginx.con
Although it looks like the output that you copied is missing a few bits from the right side, that’s enough to give details on what may be wrong.
Essentially, the above is telling me that there’s an issue with this file:
/etc/nginx/nginx.conf
… or one of the server blocks that you’re including in to it. So we need to check that file and your server block configuration (the blocks starting with server { for your sites).
If you can post both of those, I can take a look at things for you.