Quantcast
Channel: Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)? - Server Fault
Viewing all articles
Browse latest Browse all 6

Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?

$
0
0

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?


Viewing all articles
Browse latest Browse all 6

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>