Skip to content

Instantly share code, notes, and snippets.

@BrianGilbert
Created August 14, 2013 01:03
Show Gist options
  • Save BrianGilbert/6227181 to your computer and use it in GitHub Desktop.
Save BrianGilbert/6227181 to your computer and use it in GitHub Desktop.
Example wordpress vhost for aegir box, also see https://gist.github.com/BrianGilbert/6227135
server {
include /var/aegir/config/includes/fastcgi_params.conf;
limit_conn gulag 32; # like mod_evasive - this allows max 32 simultaneous connections from one IP address
listen *:80;
server_name wordpress.domain.name;
root /var/www/siteroot;
# Extra configuration from modules:
include /var/aegir/config/includes/nginx_wp_include.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment