Skip to content

Instantly share code, notes, and snippets.

@acafourek
Last active November 15, 2017 14:49
Show Gist options
  • Save acafourek/2a3a9b2f048edb3bca9b0dcd71024bd8 to your computer and use it in GitHub Desktop.
Save acafourek/2a3a9b2f048edb3bca9b0dcd71024bd8 to your computer and use it in GitHub Desktop.
nginx template for local VVV
server {
listen 80;
listen 443 ssl;
server_name {{DOMAINS_HERE}};
root {vvv_path_to_site}/wordpress;
error_log {vvv_path_to_site}/log/error.log;
access_log {vvv_path_to_site}/log/access.log;
set $upstream {upstream};
include /etc/nginx/nginx-wp-common.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment