Question
Which is the right path to put my sites on CentOS 7 using Nginx?
The default directory for the websites in Nginx is /usr/ share/nginx/html
,
but there is a default directory created by CentOS /var/www/html
.
So which one should i use? which one is more secure? or best practice?
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.
×