Re: FAQ Suggestions --- mapping to file, not folder?

2023-02-22 Thread Francis Daly
On Wed, Feb 22, 2023 at 09:44:42AM -0800, Ivo Welch wrote: Hi there, > I think my fundamental misunderstanding was that a `location` block in > the nginx configuration always maps to a directory (folder) in the > file system. Yes, that's a misunderstanding. The details at http://nginx.org/r/loc

Re: FAQ Suggestions --- mapping to file, not folder?

2023-02-22 Thread Sergey A. Osokin
Hi Ivo, On Wed, Feb 22, 2023 at 09:44:42AM -0800, Ivo Welch wrote: > I think my fundamental misunderstanding was that a `location` block in > the nginx configuration always maps to a directory (folder) in the > file system. The root just identifies the default file. (this also > means that the b

Re: FAQ Suggestions --- mapping to file, not folder?

2023-02-22 Thread Ivo Welch
I think my fundamental misunderstanding was that a `location` block in the nginx configuration always maps to a directory (folder) in the file system. The root just identifies the default file. (this also means that the browser can then always look around for other files in this directory, though

Re: FAQ Suggestions

2023-02-20 Thread Francis Daly
On Sun, Feb 19, 2023 at 05:49:48PM -0800, Ivo Welch wrote: Hi there, > thank you, F. I created a completely new ubuntu VM, with a completely > vanilla configuration and only this one extra location statement at > http://164.67.176.22/ , describing the nginx configuration and > referencing its /

Re: FAQ Suggestions

2023-02-19 Thread nanaya
Hi, On Mon, Feb 20, 2023, at 10:51, Ivo Welch wrote: > please ignore previous email. nanaya has an explanation that I need > to explore. I think this would make a great example for an FAQ... > As explained by Francis, I forgot to mention the part that "root /tmp/w" in a "location /wth" means a

Re: FAQ Suggestions

2023-02-19 Thread Ivo Welch
please ignore previous email. nanaya has an explanation that I need to explore. I think this would make a great example for an FAQ... On Sat, Feb 18, 2023 at 10:27 PM nanaya wrote: > > Hi > > On Sun, Feb 19, 2023, at 10:27, Ivo Welch wrote: > > 2. why does > > > > ``` > > location /wth { > >

Re: FAQ Suggestions

2023-02-19 Thread Ivo Welch
thank you, F. I created a completely new ubuntu VM, with a completely vanilla configuration and only this one extra location statement at http://164.67.176.22/ , describing the nginx configuration and referencing its /wth, and it's not working :-( . On Sun, Feb 19, 2023 at 5:37 AM Francis Daly

Re: FAQ Suggestions

2023-02-19 Thread Francis Daly
On Sat, Feb 18, 2023 at 05:27:45PM -0800, Ivo Welch wrote: Hi there, > 1. is this mailing list the correct place to suggest additions to the FAQ? It's as good a place as any, yes. > 2. why does > > ``` > location /wth { >root /var/www/fcgi-bin/; >index wth-root.html; > } > ``` > > no

Re: FAQ Suggestions

2023-02-18 Thread nanaya
Hi On Sun, Feb 19, 2023, at 10:27, Ivo Welch wrote: > 2. why does > > ``` > location /wth { >root /var/www/fcgi-bin/; >index wth-root.html; > } > ``` > > not resolve '/wth' (but incidentally does resolve '/wth-root.html', > though not '/wth-root'). > it's one of the common confusions. Ju

FAQ Suggestions

2023-02-18 Thread Ivo Welch
1. is this mailing list the correct place to suggest additions to the FAQ? 2. why does ``` location /wth { root /var/www/fcgi-bin/; index wth-root.html; } ``` not resolve '/wth' (but incidentally does resolve '/wth-root.html', though not '/wth-root'). I have been scratching my head about