Re: Nginx serving wrong site

2024-01-09 Thread Francis Daly
On Mon, Jan 08, 2024 at 11:48:13AM -0500, James Read wrote: Hi there, > OK this is a browser issue and not a nginx issue. I just accessed the site > with lynx and it is showing the right site. However with Chrome it is > showing the wrong site. This may have something to do with the fact that I

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 11:34 James Read, wrote: > > > On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote: > >> On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: >> > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: >> > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: >> >> Hi

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 10:04 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: > > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: > > Hi there, > > > > So I'm going to guess that your "server_name"

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: Hi there, > > So I'm going to guess that your "server_name" line is of the > > form "www.example.com"; and your browser is

Re: Nginx serving wrong site

2024-01-08 Thread James Read
On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: > > Hi there, > > > I literally copied a working configuration. The only changes I made were > > the name of the server and the root to find the files to be served. > > If you're not

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: Hi there, > I literally copied a working configuration. The only changes I made were > the name of the server and the root to find the files to be served. If you're not going to show a configuration, then anyone who might be able to

Re: Nginx serving wrong site

2024-01-08 Thread James Read
I literally copied a working configuration. The only changes I made were the name of the server and the root to find the files to be served. On Mon, 8 Jan 2024, 08:20 Francis Daly, wrote: > On Mon, Jan 08, 2024 at 08:11:21AM -0500, James Read wrote: > > Hi there, > > > My nginx server is

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
On Mon, Jan 08, 2024 at 08:11:21AM -0500, James Read wrote: Hi there, > My nginx server is serving the wrong site. I found this explanation online > https://www.computerworld.com/article/2987967/why-your-nginx-server-is-responding-with-content-from-the-wrong-site.html > However this explanation

Nginx serving wrong site

2024-01-08 Thread James Read
My nginx server is serving the wrong site. I found this explanation online https://www.computerworld.com/article/2987967/why-your-nginx-server-is-responding-with-content-from-the-wrong-site.html However this explanation doesn't seem to fit my case as I have a location which nginx should match