Getting started

James Read jamesread5737 at gmail.com
Thu Dec 12 16:34:17 UTC 2019


On Thu, Dec 12, 2019 at 4:24 PM Francis Daly <francis at daoine.org> wrote:

> On Wed, Dec 11, 2019 at 08:54:24PM +0000, James Read wrote:
>
> Hi there,
>
> > Access log shows that page hasn't changed http code 304:
> >
> > 127.0.0.1 - - [11/Dec/2019:20:46:42 +0000] "GET / HTTP/1.1" 304 0 "-"
> > "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
> > Chrome/79.0.3945.79 Safari/537.36"
>
> That indicates that this browser sent a request of something like "please
> send me /, if it is newer than (some time in the past)", and nginx said
> "/ is not newer than then".
>
> It does not say anything about whether the "time in the past" corresponded
> to /usr/local/nginx/html/index.html, and whether "not newer" corresponds
> to /www/index.html. Maybe neither apply; maybe both do.
>
>
> If you do
>
>   curl -i http://127.0.0.1/
>
> what content do you get back? Is it from the file that you want it to be?
>

I still get the Welcome to nginx! page.

James


>
>         f
> --
> Francis Daly        francis at daoine.org
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20191212/33e0899d/attachment.htm>


More information about the nginx mailing list