mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-11-29 03:43:05 +00:00
commit
7a023ab687
@ -13,7 +13,11 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen <%= ENV["PORT"] %>;
|
listen <%= ENV["PORT"] %>;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
<% if ENV["ROOT"] %>
|
||||||
|
root /app/www/<%= ENV["ROOT"] %>;
|
||||||
|
<% else %>
|
||||||
root /app/www;
|
root /app/www;
|
||||||
|
<% end %>
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user