Use sub folder in production
This commit is contained in:
parent
f3ff3a9bfe
commit
1804618b77
@ -1,15 +1,15 @@
|
||||
set :stage, :production
|
||||
|
||||
set :nginx_server_name, '13.owlephant.icu' # optional, defaults to :application
|
||||
set :nginx_server_name, '13.whitewizardweb.com' # optional, defaults to :application
|
||||
|
||||
# Simple Role Syntax
|
||||
# ==================
|
||||
# Supports bulk-adding hosts to roles, the primary
|
||||
# server in each group is considered to be the first
|
||||
# unless any hosts have the primary property set.
|
||||
role :app, %w{jesse@13.owlephant.icu}
|
||||
role :web, %w{jesse@13.owlephant.icu}
|
||||
role :db, %w{jesse@13.owlephant.icu}
|
||||
role :app, %w{jesse@13.whitewizardweb.com}
|
||||
# Supports bulk-adding hosts to roles, the primary
|
||||
role :web, %w{jesse@13.whitewizardweb.com}
|
||||
role :db, %w{jesse@13.whitewizardweb.com}
|
||||
|
||||
# Extended Server Syntax
|
||||
# ======================
|
||||
@ -17,7 +17,7 @@ role :db, %w{jesse@13.owlephant.icu}
|
||||
# definition into the server list. The second argument
|
||||
# something that quacks like a hash can be used to set
|
||||
# extended properties on the server.
|
||||
server '13.owlephant.icu', user: 'jesse', roles: %w{web app db}, my_property: :my_value
|
||||
server '13.whitewizardweb.com', user: 'jesse', roles: %w{web app db}, my_property: :my_value
|
||||
|
||||
# you can set custom ssh options
|
||||
# it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user