mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-10-05 02:04:33 +00:00
Allow root directory to be overridden via environment variable
This commit is contained in:
@ -12,7 +12,7 @@ http {
|
||||
server {
|
||||
listen <%= ENV['PORT'] %>;
|
||||
server_name _;
|
||||
root /app/www;
|
||||
root <%= ENV.fetch('root', '/app/www') %>;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user