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 <fran...@daoine.org> wrote: > > 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; > > } > > ``` > > > > not resolve '/wth' (but incidentally does resolve '/wth-root.html', > > though not '/wth-root'). > > What test makes you believe that "location /wth" does not resolve the > request "/wth", in your config? > > > I have been scratching my head about this for the longest time. > > What other location{}s are in this config, which you might have told > nginx to use instead of this one? > > Can you show one example config that shows the problem? > > For example, if I use: > > ``` > server { > listen 10080; > root /tmp/r; > location /wth { > root /tmp/w; > index w.html; > } > } > ``` > > then "curl http://localhost:10080/wth" redirects me to > http://localhost:10080/wth/; and "curl http://localhost:10080/wth/" > gets me the content of /tmp/w/wth/w.html. > > Do you see or expect something different? > > Thanks, > > f > -- > Francis Daly fran...@daoine.org > _______________________________________________ > nginx mailing list > nginx@nginx.org > https://mailman.nginx.org/mailman/listinfo/nginx _______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx