Use sub folder in production
This commit is contained in:
parent
3886936080
commit
10be40b25c
@ -1,15 +1,15 @@
|
|||||||
set :stage, :production
|
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
|
# Simple Role Syntax
|
||||||
# ==================
|
# ==================
|
||||||
# Supports bulk-adding hosts to roles, the primary
|
|
||||||
# server in each group is considered to be the first
|
# server in each group is considered to be the first
|
||||||
# unless any hosts have the primary property set.
|
# unless any hosts have the primary property set.
|
||||||
role :app, %w{jesse@13.owlephant.icu}
|
role :app, %w{jesse@13.whitewizardweb.com}
|
||||||
role :web, %w{jesse@13.owlephant.icu}
|
# Supports bulk-adding hosts to roles, the primary
|
||||||
role :db, %w{jesse@13.owlephant.icu}
|
role :web, %w{jesse@13.whitewizardweb.com}
|
||||||
|
role :db, %w{jesse@13.whitewizardweb.com}
|
||||||
|
|
||||||
# Extended Server Syntax
|
# Extended Server Syntax
|
||||||
# ======================
|
# ======================
|
||||||
@ -17,7 +17,7 @@ role :db, %w{jesse@13.owlephant.icu}
|
|||||||
# definition into the server list. The second argument
|
# definition into the server list. The second argument
|
||||||
# something that quacks like a hash can be used to set
|
# something that quacks like a hash can be used to set
|
||||||
# extended properties on the server.
|
# 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
|
# 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
|
# 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