Sha256: 94f7cf748eff1978043e82791f8a79f441b97fa6cf32adaca38697b3a88ba1fd

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

set :templates_path, "config/deploy/templates"
set :nginx_server_name, -> { "localhost #{fetch(:application)}.local" }
set :nginx_config_name, -> { "#{fetch(:application)}_#{fetch(:stage)}" }
set :nginx_use_ssl, false
set :nginx_pid, "/run/nginx.pid"
set :nginx_ssl_certificate, -> { "#{fetch(:nginx_server_name)}.crt" }
set :nginx_ssl_certificate_key, -> { "#{fetch(:nginx_server_name)}.key" }
set :nginx_upload_local_certificate, true
set :nginx_ssl_certificate_local_path, -> { ask(:nginx_ssl_certificate_local_path, "Local path to ssl certificate: ") }
set :nginx_ssl_certificate_key_local_path, -> { ask(:nginx_ssl_certificate_key_local_path, "Local path to ssl certificate key: ") }
set :nginx_config_path, "/etc/nginx/sites-available"

set :unicorn_service_name, -> { "unicorn_#{fetch(:application)}_#{fetch(:stage)}" }
set :templates_path, "config/deploy/templates"
set :unicorn_pid, -> { shared_path.join("pids/unicorn.pid") }
set :unicorn_config, -> { shared_path.join("config/unicorn.rb") }
set :unicorn_log, -> { shared_path.join("log/unicorn.log") }
set :unicorn_user, -> { fetch(:user) }
set :unicorn_workers, 2
set :sudo, "sudo"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-nginx-unicorn-0.1.0.pre lib/capistrano/nginx_unicorn/defaults.rb