Skip to content

Instantly share code, notes, and snippets.

@yazzou
Forked from BrianGilbert/wordpress-vhost.conf
Created April 24, 2022 15:38
Show Gist options
  • Save yazzou/263b7c22079f43a8271525388244b5d6 to your computer and use it in GitHub Desktop.
Save yazzou/263b7c22079f43a8271525388244b5d6 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