Listen on wildcard (*) subdomain
This commit is contained in:
parent
6912865db8
commit
c0b00070ea
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue