I have some experience using linux but none using nginx. I have been tasked with researching load-balancing options for an application server.
I have used apt-get to install nginx and all seems fine.
I have a couple of questions.
What is the difference between the sites-available folder and the conf.d folder. Both of those folders were INCLUDED in the default configuration setup for nginx. Tutorials use both. What are they for and what is the best practice?
What is the sites-enabled folder used for? How do I use it?
The default configuration references a www-data user? Do I have to create that user? How do I give that user optimal permissions for running nginx?