README.md in capistrano-nginx-unit-0.6.2 vs README.md in capistrano-nginx-unit-0.7.0

- old
+ new

@@ -49,10 +49,11 @@ set :nginx_unit_processes, -> { nil } set :nginx_unit_user, -> { nil } set :nginx_unit_group, -> { nil } set :nginx_unit_working_dir, -> { nil } set :nginx_unit_script, -> { "config.ru" } +set :nginx_unit_environment, -> { {} } ``` - `:nginx_unit_roles` Roles to run tasks for NGINX Unit. Default: `:app` @@ -89,6 +90,11 @@ - `:nginx_unit_script` Rack application script path. Default: `RELEASE_PATH/config.ru` See [Ruby application configuration](https://unit.nginx.org/configuration/#ruby-application) + + - `:nginx_unit_environment` (NGINX Unit >= 1.2) + + Environment variable setting. Default value is empty. + This variable accepts `Hash`. e.g., `{ "RAILS_ENV" => "production" }`. \ No newline at end of file