Creating the Directory Structure - static content

Grzegorz Cześnik grzegorz.czesnik at hotmail.com
Wed Feb 17 17:05:42 UTC 2021


Hi,

I am viewing various tutorials on configuring server blocks. I am wondering about the root directory structure for a server block for some static pages. I wanted to ask what are the best practices on this topic. I found such structure proposals as:

/var/www/<domain_name>/public_html

/var/www/html/<domain_name>

/var/www/<domain_name>

Are there any benefits to using one of these examples? Is it any freedom in what they write about it?

Grzegorz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210217/4b8e85b6/attachment.htm>


More information about the nginx mailing list