Re: Creating the Directory Structure - static content

2021-02-22 Thread Francis Daly
On Mon, Feb 22, 2021 at 02:12:08PM +, Grzegorz Cześnik wrote: Hi there, > My nginx distribution is from the official nginx repository for Ubuntu 20 > Server > > Default: > location / { > root / usr / share / nginx / html; > index index.html index.htm; > } > > Theref

RE: Creating the Directory Structure - static content

2021-02-22 Thread Grzegorz Cześnik
...@nginx.org] On Behalf Of Francis Daly Sent: Sunday, February 21, 2021 4:17 PM To: nginx@nginx.org Subject: Re: Creating the Directory Structure - static content On Wed, Feb 17, 2021 at 05:05:42PM +, Grzegorz Cześnik wrote: Hi there, > /var/www//public_html > /var/www/html/ >

Re: Creating the Directory Structure - static content

2021-02-21 Thread Francis Daly
On Wed, Feb 17, 2021 at 05:05:42PM +, Grzegorz Cześnik wrote: Hi there, > /var/www//public_html > /var/www/html/ > /var/www/ > > Are there any benefits to using one of these examples? Is it any freedom in > what they write about it? It is "whatever organisation you prefer" -- the nginx app

Creating the Directory Structure - static content

2021-02-17 Thread Grzegorz Cześnik
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//public_html /var/www/html/ /v