Listen on wildcard (*) subdomain

This commit is contained in:
Peter Rhoades 2013-07-10 17:39:55 +01:00
parent 6912865db8
commit c0b00070ea

View file

@ -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;