<div dir="ltr">How long is that cache kept? If it redirected to the other one, will be redirect on my phone indefinitely? I tried clearly my phone's settings and it still pulls up the other site's page--the old page, too, as I've changed the words. Is nginx saying this page is cacheable and thus not returning the new version because the browser uses the old one? <div>
<br></div><div>> This article should shed the light:</div><div>> <a href="http://nginx.org/en/docs/http/server_names.html">http://nginx.org/en/docs/http/server_names.html</a></div><div><br></div><div>Thanks for the link. That seems pretty clear, but how is nginx deriving the hostname? If I run `hostname` I get "home" back. I still don't understand why it fell back to the other one. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 11:07 AM, Valentin V. Bartenev <span dir="ltr"><<a href="mailto:vbart@nginx.com" target="_blank">vbart@nginx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Monday 03 February 2014 10:52:29 Josh Stratton wrote:<br>
> Nevermind. I found the answer here that fixed it. I'm redirecting from<br>
> www now. Still don't understand why it fell back to the other server<br>
> block.<br>
</div>[..]<br>
<br>
This article should shed the light:<br>
<a href="http://nginx.org/en/docs/http/server_names.html" target="_blank">http://nginx.org/en/docs/http/server_names.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
wbr, Valentin V. Bartenev<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>