As per https://github.com/omega8cc/nginx-for-drupal/issues/200#issuecomment-112... , It would be useful to use wildcard IP's similar to how it is by default in the apache setup of the v.host files.

This may be needed to easily use Amazon EC2 with baracuda.

Comments

that0n3guy’s picture

Also, how would I go about moding this for my server even before this may become a core barracuda feature?

omega8cc’s picture

You would need to patch the nginx vhost template (tpl) files in your Provision copy, see https://github.com/omega8cc/provision/tree/master/http/nginx

omega8cc’s picture

Issue tags: +BOA-todo

Tagging for todo.

omega8cc’s picture

Status: Active » Fixed

It is now implemented in the HEAD version.

Just set the option _HTTP_WILDCARD=YES in Barracuda and all the rest is automated, also for Octopus.

AntiNSA’s picture

Im not sure if I need this option or not. does it use additional resources if enabled but not needed?

omega8cc’s picture

This option is useful only on systems like Amazon EC2 or other setups behind NAT, so it is useless for standard VPS systems like Linode, Rackspace etc. It is also completely unrelated to performance/resources usage.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

omega8cc’s picture

Note:

We never tested it with EC2, but I think we are compatible now.

You only need to use _HTTP_WILDCARD=YES and _THIS_DB_HOST=localhost options and it should just work.

omega8cc’s picture

It is now fully automated for Amazon EC2: http://drupalcode.org/project/octopus.git/commit/9d4dafb