Re: Make relative paths in proxy go to the right server

2022-05-28 Thread AussieSusan
Thank you Francis. Adding the '/' at the end of the 'location' entry seems to have done the trick. (And sorry for the delay in responding - what is that saying about life happening when you try to make plans) Susan Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294234,294309#msg-294

Re: Make relative paths in proxy go to the right server

2022-05-25 Thread Francis Daly
On Tue, May 24, 2022 at 01:25:05AM -0400, AussieSusan wrote: Hi there, > I am a total newbie to this and I don't even know if what I want to do is > possible. In the general case, it's not possible. In some specific limited cases, it might work. > For example: "https://myserver.com/weather"; n

Make relative paths in proxy go to the right server

2022-05-23 Thread AussieSusan
I am a total newbie to this and I don't even know if what I want to do is possible. I have a web server that locally serves some of the files but in one case needs to pass the web requests on to another server. For example: "https://myserver.com/weather"; needs to be handled locally, but "https: