I have just finished installing nginx on my 512 linode and when I ran the IP in my chrome, I can see that nginx installed successfully. (yahoo, says this beginner!). Now working on nginx.conf The instructions from vpsbible.com tell me to strip out the content of the current nginx.conf and insert the following instead. Should I use, instead, the content of the nginx.conf file at perusio's github (or one of the other three)? VPSBible does say that the following is barebones but I don't know if I can just use the single nginx.conf file from the long list of files at Perusio's (or someone else) github or do all of those files have an interconnectedness? Make sense?
Here's the barebones conf from vpsbible.com:
code removed per request of vpsbible
Comments
No you cannot
the config is split along several files. The only mechanism Nginx provides to reuse code is through the
includedirective. Hence the myriad of files. The file you posted above is just a basic config file. A lot is missing.A single
eventsinstance, a singlehttpinstance for a running server, multipleserverinstances (one for each vhost). That's how things are done. Look at the README for guidance and ask here when you have doubts. Try it on your local machine and test, test, test.I would not recommend mixing
I would not recommend mixing the vpsbible config with perusio's config. perusio's is complete, well tailored to Drupal, and still updated. vpsbible is a good resource, but it looks like the author has not been updating it.