Server Blocks vs. Conf

June 7, 2014 1k views Is adding the linked code to /etc/nginx/conf.d/ to same as adding to /etc/nginx/sites-available/ if im using server blocks? Source:
1 Answer
It is the same as long as you have an include directive in your nginx.conf that specifies the path to that file. I don't see such a statement in the default nginx.conf, so you will need to add it.
Have another answer? Share your knowledge.