From 1804618b772e208200e8e6c2109272ef8cee6039 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 16 Aug 2020 23:58:22 -0700 Subject: [PATCH] Use sub folder in production --- config/deploy/production.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 48d786f6..47856e86 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -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