Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks For the answer. During my tests I've come up with the following setup (very simplified but that's the gist of it):

  • 1 external DNS resolving *.mydomain to the swift server
  • 1 internal DNS, reachable by the swift server only, resolving container.mydomain to container.account.internaldomain

cname_lookup is configured to resolve addresses until it reaches an entry ending with internaldomain, and domain_remap will map container.account.internaldomain to an URL like internaldomain/v1/account/container .

In the end, I obtain a configuration that allows me to query a container as a virtualhost, "a la S3".

Too bad it doesn't play well with the swift3 middleware, though.