nginx and self-healing S3 static hosting

Ian M. Evans ianevans at digitalhit.com
Sat Jul 26 14:20:56 MSD 2008


Jean-Philippe wrote:
> However this rewrite system does not seem clean. I think it would be 
> better to simply use dns and subdomains for your static files, and 
> change the subdomain used when s3 is down.

I'm not sure I'm totally following this last paragraph.

Do you mean have two cnames, say, s3.example.com and local.example.com 
and change the rewrite depending on the check files existence?

Sorry...up in the wee hours with a head cold. :-(





More information about the nginx mailing list