Permalink
Browse files

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

…inition
  • Loading branch information...
1 parent 8723a1e commit 4e3fd770c94db13630cc2a4dc3d5193a4703978e @createdbypete createdbypete committed Sep 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/projects/templates/shared/nginx.conf.erb
@@ -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;

0 comments on commit 4e3fd77

Please sign in to comment.