Setting Up Redirects on BOA

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
daniel-san's picture

I am moving a set of sites over to one of my BOA servers from an old school server and our organization happens to have a whole bunch of redirects set up in apache. I’ve read the HINTS documentation and done research and have now become familiar with the idea of setting up the nginx_vhost_include.conf file and assigning locations.

My big question is about using domain specific locations as we may include other sites that have other domains on this server. In the Hints documentation, it indicates that IF statements should be used.

Note: your custom rewrite rules will apply to *all* sites on the same Aegir Satellite Instance, unless you will use site/domain specific if{} embedded locations, as shown in the examples below.

But, this article http://wiki.nginx.org/Pitfalls#Server_Name indicates that IF statements should not be used.

Looking for advice if you have any.

Thanks.
Dan

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: