1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-25 10:23:07 +00:00

Merge pull request #8 from btkostner/master

added ROOT variable
This commit is contained in:
Florian Heinemann 2015-10-10 22:45:21 +02:00
commit 7a023ab687

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;
}
}