<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 4:24 PM Francis Daly <<a href="mailto:francis@daoine.org">francis@daoine.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Dec 11, 2019 at 08:54:24PM +0000, James Read wrote:<br>
<br>
Hi there,<br>
<br>
> Access log shows that page hasn't changed http code 304:<br>
> <br>
> 127.0.0.1 - - [11/Dec/2019:20:46:42 +0000] "GET / HTTP/1.1" 304 0 "-"<br>
> "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)<br>
> Chrome/79.0.3945.79 Safari/537.36"<br>
<br>
That indicates that this browser sent a request of something like "please<br>
send me /, if it is newer than (some time in the past)", and nginx said<br>
"/ is not newer than then".<br>
<br>
It does not say anything about whether the "time in the past" corresponded<br>
to /usr/local/nginx/html/index.html, and whether "not newer" corresponds<br>
to /www/index.html. Maybe neither apply; maybe both do.<br>
<br>
<br>
If you do<br>
<br>
  curl -i <a href="http://127.0.0.1/" rel="noreferrer" target="_blank">http://127.0.0.1/</a><br>
<br>
what content do you get back? Is it from the file that you want it to be?<br></blockquote><div><br></div><div>I still get the Welcome to nginx! page.</div><div><br></div><div>James</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
        f<br>
-- <br>
Francis Daly        <a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div></div>