Grzegorz Cześnik
February 17, 2021 12:06PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Creating the Directory Structure - static content

Grzegorz Cześnik February 17, 2021 12:06PM

Re: Creating the Directory Structure - static content

Francis Daly February 21, 2021 10:18AM

RE: Creating the Directory Structure - static content

Grzegorz Cześnik February 22, 2021 09:14AM

Re: Creating the Directory Structure - static content

Francis Daly February 22, 2021 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 246
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready