2017-04-04 30 views
0

當我在電報或其他信使應用程序的消息中發送我的域名時,這些應用程序在電報中未顯示mysite。我想要電報和其他應用程序,顯示我的網站,如下所示。nginx - 爲什麼我的網站沒有顯示在電報和其他使者?

why not shown my uploaded pic??

我想這個問題是針對網絡服務器(Nginx的)。 這是mysite的的網絡服務器設置:

server { 
if ($blockedagent) { 
    return 403; 
} 
if ($request_method !~ ^(GET|HEAD|POST)$) { 
    return 444; 
} 

client_max_body_size 20M; 
listen 80; 
server_name mysite.com wwww.mysite.com; 


location = /favicon.ico { access_log off; log_not_found off; } 
location /static/ { 
    root /home/my/myproject; 
    expires 30d; 
}  
} 

server { 
    listen 80; 
    server_name 1.2.3.4; 
    return 301 $scheme://mysite.com$request_uri; 
} 

我怎樣才能解決這個問題? tanx

+0

對不起男人!我不知道爲什麼我的圖片不顯示!...這是在這個鏈接http://uupload.ir/files/xfx9_untitled.png – msln

回答

0

我認爲這不是關於nginx的設置。這是關於你網站的meta標籤。轉到您的網頁,然後在瀏覽器中查看源代碼,然後檢查元標題,說明和圖像。

如果你去authlab.io看到源,那麼你會明白。 authlab.io在電報和其他基於元標記的消息應用程序中顯示精選圖像,標題和描述。

screenshot from Telegram

相關問題