1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2025-01-12 20:26:21 +00:00

added ROOT param

This commit is contained in:
Blake Kostner 2015-10-05 17:03:08 -07:00
parent b1370b9c56
commit 69e450813e

View File

@ -13,7 +13,11 @@ http {
server {
listen <%= ENV["PORT"] %>;
server_name _;
root /app/www;
<% if ENV["ROOT"] %>
root /app/www/<%= ENV["ROOT"] %>;
<% else %>
root /app/www;
<% end %>
index index.html;
}
}