diff --git a/config/nginx.conf b/config/nginx.conf index 0797963..19c9b95 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,5 +1,5 @@ upstream blog_perso_app_unicorn { - server unix:/home/web/blog_perso_app/shared/tmp/unicorn.sock fail_timeout=0; + server unix:/home/web/blog_perso_app/shared/unicorn.sock fail_timeout=0; } server { diff --git a/config/unicorn_init_d b/config/unicorn_init_d index a8fd61e..42f2776 100755 --- a/config/unicorn_init_d +++ b/config/unicorn_init_d @@ -8,7 +8,7 @@ set -e APP_NAME=blog_perso_app APP_RUBY=2.1.2 APP_ROOT="/home/web/blog_perso_app/current" -PID="/home/web/blog_perso_app/shared/tmp/unicorn.pid" +PID="/home/web/blog_perso_app/shared/unicorn.pid" ENV=production GEM_HOME="/home/web/.rvm/gems/ruby-$APP_RUBY"