Should user repo_dir variable here incase of over-ride in project definition

This commit is contained in:
Peter Rhoades 2013-09-24 17:11:18 +01:00
parent 8723a1e651
commit 4e3fd770c9

View file

@ -5,7 +5,7 @@ upstream <%= @server_name %> {
server {
access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
listen 80;
root <%= scope.lookupvar "boxen::config::srcdir" %>/<%= @name %>/public;
root <%= @repo_dir %>/public;
server_name <%= @server_name %> *.<%= @server_name %>;
client_max_body_size 50M;