Merge pull request #405 from boxen/nginx-config-update
Should user repo_dir variable in nginx template
This commit is contained in:
commit
907cab4b74
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ upstream <%= @server_name %> {
|
||||||
server {
|
server {
|
||||||
access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
|
access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
|
||||||
listen 80;
|
listen 80;
|
||||||
root <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/public;
|
root <%= @repo_dir %>/public;
|
||||||
server_name <%= @server_name %> *.<%= @server_name %>;
|
server_name <%= @server_name %> *.<%= @server_name %>;
|
||||||
|
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
|
|
Loading…
Reference in a new issue