Serving static .html files in a Barracuda Aegir Drupal site
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.
Read moreMicro Amazon EC2 AMI with nginx, php5.3.3 and sqlite
Amazon has announced micro instance, which is cheaper. The sluggish apache2 stack may not work well on this limited resource. So I am planning to install drupal on nginx and sqlite, with custom compited lite php.
Read morePacktpub.com - Nginx HTTP Server Book - July 2010
https://www.packtpub.com/nginx-http-server-for-web-applications/book
In detail
This book serves as a detailed guide to setting up Nginx in different production situations: as standalone server, as reverse proxy, interacting with applications via FastCGI, and more. In addition, the complete directive reference will be your best friend at all stages of the configuration and maintenance processes.
Read moreOctopus and Barracuda - Dual-Core Aegir Installer with 10+ Platforms - deploy, upgrade and clone Aegir instances in 8 minutes! (big update)
UPDATE: Barracuda and Octopus new home is on d.o, plus there is BOA group:
http://drupal.org/project/barracuda
http://drupal.org/project/octopus
http://groups.drupal.org/boa
NOTE: this thread is a continuation of previously single-core Barracuda Installer introduction: http://groups.drupal.org/node/84074.
Read morenginx_ensite and nginx_dissite for quick virtual host enabling/disabling
Hello,
I created a shell script that replicates de Debian a2ensite/a2dissite Apache utilities for nginx. The Apache utilities are written in Perl. I sticked with Bash and awk.
There's also a Bash completion script included. Enjoy.
It's on github nginx_ensite.
Read moreNginx Wiki - Drupal
I took the time to write up a best practices wiki page on the Nginx wiki for Drupal. Your configurations may or may not be similar and may or may not add extras. The setup in the Nginx wiki will not cover things like using Boost or Varnish.
The configuration in the wiki will provide an excellent base for anything you want to do with Drupal (and Pressflow). It takes a lot of beginner mistakes and explains why they are the wrong way. There are a massive number of beginner mistakes that I've seen around drupal.org and the rest of the Internet. I hope that linking to this page will help.
Read morenginx redirects to install.php
Hi,
I hope this is the right place to ask this question. I have switched from apache to nginx by using the config files from yhager on http://github.com/yhager/nginx_drupal. When accessing the site, I am redirected to install.php. How can I enable logging in order to track down the problem? Any help is appreciated.
Regards
Stéphane
Read moreClickjacking protection through X-Frame-Options and STS
Hello everyone,
I've used extensively the configurations available at github by omega8cc and yhager. I've added a few things myself and I will share it on github soon.
One of the things I added is clickjacking protection through the X-Frame-Options header. This is supported in modern browsers and also on IE8. Mozilla Dev Center explanation of this header.
The best thing is to add in your server context:
add_header X-Frame-Options sameorigin;Nginx + gzip + Boost
I have read about configuring nginx + boost for drupal.
I decided to install boost for my site.
Now I have nginx + php-fpm + APC + drupal.
On Drupal installed Cache Router with all cache in APC.
APC = 256Mb.
Could you help me to configure nginx + boost for best performance?
- Content is dynamic - news site, will boost correctly clear cache after news added, so changed block of views in all pages?
Is it worth to cache for 5-10-15 minutes? Or configure boost to cache only "complicated" pages, like main page with many blocks?
Aegir 0.4 alpha 9 released
We are proud to announce the 0.4 Alpha 9 release of the Aegir Hosting System. This release introduces our 'multi-server' functionality, which mostly resolves the primary goal for the 0.4 release cycle.
UPDATED: critical errors found in this release:
#875192 PHP.net switched to subversion from CVS, breaking Drush. We need to roll a new release of drush.
#874716 Files directories on remote web servers are being deleted on rsync. DO NOT USE THIS FEATURE ON PRODUCTION SITES YET!






