From b8e35b533cc1c1549d2272d0571b97f1fb0d45c9 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 11 Jun 2018 02:06:46 +0200 Subject: [PATCH] suite --- config/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 170425f..e41270b 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,18 +1,18 @@ -upstream pic_vert_app_unicorn { - server unix:/srv/www/web/pic_vert_app/shared/tmp/unicorn.sock fail_timeout=0; +upstream karim_app_unicorn { + server unix:/srv/www/web/karim_app/shared/tmp/unicorn.sock fail_timeout=0; } server { listen [::]:80; server_name karim.quartz.xyz; - root /srv/www/web/pic_vert_app/current/public; + root /srv/www/web/karim_app/current/public; try_files $uri/index.html $uri @unicorn; location @unicorn { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; - proxy_pass http://pic_vert_app_unicorn; + proxy_pass http://karim_app_unicorn; proxy_read_timeout 6000; }