lib/capistrano/tasks/puma.cap in capistrano3-puma-0.7.0 vs lib/capistrano/tasks/puma.cap in capistrano3-puma-0.8.0

- old
+ new

@@ -25,10 +25,12 @@ # Nginx and puma configuration set :nginx_config_name, -> { "#{fetch(:application)}_#{fetch(:stage)}" } set :nginx_sites_available_path, -> { '/etc/nginx/sites-available' } set :nginx_sites_enabled_path, -> { '/etc/nginx/sites-enabled' } set :nginx_server_name, -> { "localhost #{fetch(:application)}.local" } - + set :nginx_flags, -> { 'fail_timeout=0' } + set :nginx_http_flags, -> { fetch(:nginx_flags) } + set :nginx_socket_flags, -> { fetch(:nginx_flags) } end end namespace :deploy do before :starting, :check_puma_hooks do