Permalink
Browse files

Swap the domains replacement for vvv_hosts and add in TLS support

  • Loading branch information...
tomjn committed Oct 23, 2018
1 parent 04fe342 commit b0ef129350558d3330faf72ce56ef800ab067e8f
Showing with 7 additions and 2 deletions.
  1. +7 −2 provision/vvv-nginx.conf.tmpl
@@ -1,14 +1,19 @@
server {

listen 80;
listen 443 ssl;
server_name {{DOMAINS_HERE}};
server_name {vvv_hosts};
root {vvv_path_to_site}/public_html/build;

# Nginx logs
error_log {vvv_path_to_site}/log/error.log;
access_log {vvv_path_to_site}/log/access.log;

# This is needed to set the PHP being used
set $upstream {upstream};

{{TLS_CERT}}
{{TLS_KEY}}

# Nginx rules for WordPress, rewrite rules, permalinks, etc
include /etc/nginx/nginx-wp-common.conf;
}

0 comments on commit b0ef129

Please sign in to comment.