1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-06-26 02:20:47 +00:00

change ROOT env var and doc it

This commit is contained in:
Michael Hobbs
2015-11-25 10:43:01 -08:00
parent 61c95d52d8
commit ccbb3d7ed5
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ http {
server {
listen <%= ENV["PORT"] %>;
server_name _;
<% if ENV["ROOT"] %>
root /app/www/<%= ENV["ROOT"] %>;
<% if ENV["NGINX_ROOT"] %>
root /app/www/<%= ENV["NGINX_ROOT"] %>;
<% else %>
root /app/www;
<% end %>