Skip to content

Instantly share code, notes, and snippets.

@kokuyouwind
Created June 21, 2014 06:27
Show Gist options
  • Save kokuyouwind/992c37766c21690a9141 to your computer and use it in GitHub Desktop.
Save kokuyouwind/992c37766c21690a9141 to your computer and use it in GitHub Desktop.
server {
listen unix:/var/run/nginx-backend.sock default;
server_name _;
root /var/www/vhosts/default;
index index.php index.html index.htm;
access_log /var/log/nginx/default.backend.access.log backend;
keepalive_timeout 25;
port_in_redirect off;
gzip off;
gzip_vary off;
include /etc/nginx/wp-singlesite;
#include /etc/nginx/wp-multisite-subdir;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment