suite
This commit is contained in:
parent
ed9f24e07a
commit
373922c1c7
@ -20,8 +20,8 @@
|
|||||||
=raw '<meta property="og:title" content="'+@title.to_s+'" />'
|
=raw '<meta property="og:title" content="'+@title.to_s+'" />'
|
||||||
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
|
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
|
||||||
-if @facebook_img
|
-if @facebook_img
|
||||||
=raw '<meta property="og:image" content="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
=raw '<meta property="og:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||||
=raw '<link rel="image_src" href="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
=raw '<link rel="image_src" href="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
=raw '<meta name="twitter:card" content="summary_large_image">'
|
=raw '<meta name="twitter:card" content="summary_large_image">'
|
||||||
|
|
||||||
@ -33,12 +33,12 @@
|
|||||||
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
=raw '<meta property="twitter:image" content="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
=raw '<meta property="twitter:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-@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
|
-if @img_size and @img_size.size > 0
|
||||||
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
||||||
|
@ -4,7 +4,7 @@ upstream idn_app_unicorn {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name idn.quartz.xyz idncommunication.com;
|
server_name idncommunication.com;
|
||||||
root /home/web/idn_app/current/public;
|
root /home/web/idn_app/current/public;
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name www.idncommunication.com;
|
server_name www.idncommunication.com idn.quartz.xyz;
|
||||||
rewrite ^(.*) http://idncommunication.com permanent;
|
rewrite ^(.*) http://idncommunication.com permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user