Closed (fixed)
Project:
Barracuda
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 May 2011 at 02:20 UTC
Updated:
21 Jan 2012 at 15:51 UTC
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
Comment #1
that0n3guy commentedAlso, how would I go about moding this for my server even before this may become a core barracuda feature?
Comment #2
omega8cc commentedYou would need to patch the nginx vhost template (tpl) files in your Provision copy, see https://github.com/omega8cc/provision/tree/master/http/nginx
Comment #3
omega8cc commentedTagging for todo.
Comment #4
omega8cc commentedIt is now implemented in the HEAD version.
Just set the option
_HTTP_WILDCARD=YESin Barracuda and all the rest is automated, also for Octopus.Comment #5
AntiNSA commentedIm not sure if I need this option or not. does it use additional resources if enabled but not needed?
Comment #6
omega8cc commentedThis 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.
Comment #8
omega8cc commentedNote:
We never tested it with EC2, but I think we are compatible now.
You only need to use
_HTTP_WILDCARD=YESand_THIS_DB_HOST=localhostoptions and it should just work.Comment #9
omega8cc commentedIt is now fully automated for Amazon EC2: http://drupalcode.org/project/octopus.git/commit/9d4dafb