dear nginx experts --- If I use an alias in my location, then $realpath shows in my log file what file was actually served up. Great. How can I show in the access log file what file(s) nginx tried? I do not want the full rewrite engine in the debug log --- it contains way too many things I do not understand and way too few things I do . I would ideally want just to see something like /var/www/by iaw4 - Nginx Mailing List - English
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 they may be kept unreadable for security.) I was trying to define one specific URL to map to one spby iaw4 - Nginx Mailing List - English
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 <me@nanaya.net> wrote: > > Hi > > On Sun, Feb 19, 2023, at 10:27, Ivo Welch wrote: > > 2. why does > > > > ``` > > location /wth { > > root /var/www/fcgi-bin/; > >by iaw4 - Nginx Mailing List - English
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 <francis@daoine.org> wrote: > > On Sat, Feb 18, 2023 at 05:27:45PM -0800, Ivo Welch wrote:by iaw4 - Nginx Mailing List - English
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 this for the longest time. _______________________________________________ nginx mailing list nginx@by iaw4 - Nginx Mailing List - English
I have most things working and am now working on fcgi, step by step. First thing I did was ``` server { server_name www.ivo-welch.info; root /var/www/ivo-welch.info/www; index index.html; location /wth { root /var/www/fcgi-bin; index wth.html; } ... } ``` I expected 'http://www.ivo-welch.info/wth' now to come back with `/var/www/fcgi-bin/wth.html` . alas,by iaw4 - How to...