From 373922c1c7d1170471ab4538e25385a803adb788 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 3 Aug 2016 22:07:09 +0200 Subject: [PATCH] suite --- app/views/layouts/public.html.haml | 8 ++++---- config/nginx.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index c0ea8c2..b80aaaa 100755 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -20,8 +20,8 @@ =raw '' =raw '' -if @facebook_img - =raw '' - =raw '' + =raw '' + =raw '' =raw '' @@ -33,12 +33,12 @@ =raw '' - =raw '' + =raw '' - -@img_size = FastImage.size('http://idn.quartz.xyz'+@facebook_img.to_s) + -@img_size = FastImage.size('http://heylium.io'+@facebook_img.to_s) -if @img_size and @img_size.size > 0 =raw '' diff --git a/config/nginx.conf b/config/nginx.conf index abbd318..b5b5042 100755 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -4,7 +4,7 @@ upstream idn_app_unicorn { server { listen 80; - server_name idn.quartz.xyz idncommunication.com; + server_name idncommunication.com; root /home/web/idn_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -22,7 +22,7 @@ server { server { listen 80; - server_name www.idncommunication.com; + server_name www.idncommunication.com idn.quartz.xyz; rewrite ^(.*) http://idncommunication.com permanent; }