FloeDesignTechnologies / ansible-nginx-drupal

Ansible role to configure Nginx for running Drupal using perusio's configuration
Apache License 2.0
22 stars 12 forks source link

Define upstream for every site #11

Closed drupaladmin closed 10 years ago

drupaladmin commented 10 years ago

Hi!

What do you think about feature to define upstream servers for each site separately? I need this feature, because i use this role on caching proxy server for multiple drupal sites, that hosts on different webservers

pbuyle commented 10 years ago

That would fall outside the intended usage of Perusio's configuration. I would not suggest using this role, or Perusio's configuration. Instead, I would start with a clean Nginx configuration and build a proxy dedicated one (not being a Nginx expert, this will take me a long time). If possible I would try to make this with a dedicated Nginx role.

drupaladmin commented 10 years ago

i think it is a good idea, i will help you with this configuration.

pbuyle commented 10 years ago

There is a misunderstanding here.

If I was in your situation, I would start with a clean Nginx configuration and build a proxy dedicated one. I'm however not in your situation so I'll not work on such a configuration or role.

Such configuration would not be part of this the nginx-drupal role.

drupaladmin commented 10 years ago

Thank you for advise. I would start this configuration.