Use sub folder in production

This commit is contained in:
Jesse C. Fisher 2020-08-16 23:58:22 -07:00
parent 3886936080
commit 10be40b25c

View File

@ -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