From c0b00070eaa517bb54ad0883bb9fabd7980f64f8 Mon Sep 17 00:00:00 2001 From: Peter Rhoades Date: Wed, 10 Jul 2013 17:39:55 +0100 Subject: [PATCH] Listen on wildcard (*) subdomain --- modules/projects/templates/shared/nginx.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/projects/templates/shared/nginx.conf.erb b/modules/projects/templates/shared/nginx.conf.erb index 590edbf..03c024b 100644 --- a/modules/projects/templates/shared/nginx.conf.erb +++ b/modules/projects/templates/shared/nginx.conf.erb @@ -6,7 +6,7 @@ server { access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main; listen 80; root <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/public; - server_name <%= @server_name %>; + server_name <%= @server_name %> *.<%= @server_name %>; client_max_body_size 50M; error_page 500 502 503 504 /50x.html;