Serving static .html files in a Barracuda Aegir Drupal site

Events happening in the community are now at Drupal community events on www.drupal.org.
zkrebs's picture

Greetings. I am looking for some help regarding how to add rewrite rules, or some equivalent to them for my Barracuda Aegir setup. These can just be nginx tips at this point.

If I have a folder at /var/aegir/platform/sites/www.mydomain.com/files/newsletters

in what way could I work with my site's config file to show www.mydomain.com/newsletters ?

This feels relatively simple but I have tried a few things and none of them seem to work. Thanks in advance for considering this.

Comments

location /newsletters {  root

brianmercer's picture

location /newsletters {
  root /var/aegir/platform/sites/www.mydomain.com/files;
}

slavojzizek

omega8cc's picture

I posted the recipe also in the GitHub issue queue, see: [EDIT] http://gist.github.com/609627

Where do I put this info?

bmx269's picture

Where do I put this info?

Nginx

Group organizers

Group notifications

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

Hot content this week