Re: nginx virtual directory redirect to a static file

2021-02-04 Thread Francis Daly
On Thu, Feb 04, 2021 at 03:07:27AM -0500, proj964 wrote: Hi there, > Perhaps this is something that can't be done with nginx, but I would like to > have a url, > like http://localhost:nnn/abc return a file from q:/d1/qrst.txt. I'm not certain, from the words here and in the Subject: line, but I

nginx virtual directory redirect to a static file

2021-02-04 Thread proj964
Perhaps this is something that can't be done with nginx, but I would like to have a url, like http://localhost:nnn/abc return a file from q:/d1/qrst.txt. I have tried many combinations of root, alias, rewrite, try_files in location. For everything I try, nginx inserts "abc" into the final absolut