Problem with Amazon S3 and varnish

Abraham Cruz Sustaita abraham.sustaita at buscacorp.com
Thu Jun 28 01:42:36 CEST 2012


I have this configuration:

# Amazon S3 Backend Metatube
# --
backend s3 {
  .host = "metatube.s3-website-us-east-1.amazonaws.com";
  .port = "80";
}

But the amazon url sometimes resolves to more of one IP (I guess is a
normal behaviour from Amazon), so I have to try several times to load the
configuration file (via varnishadm) until it compiles correctly. The
problem is I have a 5 different domains with amazon, so when finally one of
them resolves to just one IP, the others resolve to more than one, so I can
never compile the configuration file. Is there anyway to fix this via
configuration?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120627/471ee899/attachment-0001.html>


More information about the varnish-misc mailing list