suite
This commit is contained in:
parent
a375f31a31
commit
f2badd3175
2
Gemfile
2
Gemfile
@ -32,7 +32,7 @@ group :development, :test do
|
|||||||
#gem 'capistrano-rails'
|
#gem 'capistrano-rails'
|
||||||
#gem "rvm-capistrano"
|
#gem "rvm-capistrano"
|
||||||
|
|
||||||
gem "capistrano", '2.15.5', group: :development
|
gem "capistrano", '2.15.9', group: :development
|
||||||
gem "rvm-capistrano",'1.4.1', group: :development, require: false
|
gem "rvm-capistrano",'1.4.1', group: :development, require: false
|
||||||
gem 'net-ssh', '~>2.7.0'
|
gem 'net-ssh', '~>2.7.0'
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ GEM
|
|||||||
columnize (~> 0.8)
|
columnize (~> 0.8)
|
||||||
debugger-linecache (~> 1.2)
|
debugger-linecache (~> 1.2)
|
||||||
slop (~> 3.6)
|
slop (~> 3.6)
|
||||||
capistrano (2.15.5)
|
capistrano (2.15.9)
|
||||||
highline
|
highline
|
||||||
net-scp (>= 1.0.0)
|
net-scp (>= 1.0.0)
|
||||||
net-sftp (>= 2.0.0)
|
net-sftp (>= 2.0.0)
|
||||||
@ -91,7 +91,7 @@ GEM
|
|||||||
haml (>= 3.1, < 5.0)
|
haml (>= 3.1, < 5.0)
|
||||||
html2haml (>= 1.0.1)
|
html2haml (>= 1.0.1)
|
||||||
railties (>= 4.0.1)
|
railties (>= 4.0.1)
|
||||||
highline (1.7.2)
|
highline (2.0.0)
|
||||||
html2haml (2.0.0)
|
html2haml (2.0.0)
|
||||||
erubis (~> 2.7.0)
|
erubis (~> 2.7.0)
|
||||||
haml (~> 4.0.0)
|
haml (~> 4.0.0)
|
||||||
@ -133,7 +133,7 @@ GEM
|
|||||||
net-sftp (2.1.2)
|
net-sftp (2.1.2)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
net-ssh (2.7.0)
|
net-ssh (2.7.0)
|
||||||
net-ssh-gateway (1.2.0)
|
net-ssh-gateway (1.3.0)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
nokogiri (1.6.8.1)
|
nokogiri (1.6.8.1)
|
||||||
mini_portile2 (~> 2.1.0)
|
mini_portile2 (~> 2.1.0)
|
||||||
@ -255,7 +255,7 @@ DEPENDENCIES
|
|||||||
acts_as_tree
|
acts_as_tree
|
||||||
bcrypt (~> 3.1.7)
|
bcrypt (~> 3.1.7)
|
||||||
byebug
|
byebug
|
||||||
capistrano (= 2.15.5)
|
capistrano (= 2.15.9)
|
||||||
carrierwave
|
carrierwave
|
||||||
coffee-rails (~> 4.1.0)
|
coffee-rails (~> 4.1.0)
|
||||||
formtastic (= 2.3.0)
|
formtastic (= 2.3.0)
|
||||||
|
@ -3,8 +3,8 @@ upstream negos_app_unicorn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen [::]:80;
|
||||||
server_name negos.pro negos-pro.fr commander.vouisstar.fr negos.quartz.xyz;
|
server_name negos.pro negos-pro.fr commander.vouisstar.fr negos.quartz.xyz *.negos.pro;
|
||||||
root /srv/www/web/negos_app/current/public;
|
root /srv/www/web/negos_app/current/public;
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
|
|
||||||
@ -18,10 +18,15 @@ server {
|
|||||||
error_page 500 502 503 504 /500.html;
|
error_page 500 502 503 504 /500.html;
|
||||||
client_max_body_size 4G;
|
client_max_body_size 4G;
|
||||||
keepalive_timeout 10;
|
keepalive_timeout 10;
|
||||||
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen [::]:80;
|
||||||
server_name www.negos-pro.fr www.negos.pro;
|
server_name www.negos-pro.fr www.negos.pro;
|
||||||
rewrite ^(.*) http://negos.pro$1 permanent;
|
|
||||||
|
|
||||||
|
return 301 http://negos.pro$request_uri;
|
||||||
|
|
||||||
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user