验证检查员后 LinkedIn 中的链接给出服务器错误 - Apache 共享主机子域

Validating link in post-inspector linkedin in gives server error - Apache Shared Hosting Sub-Domains

提问人:WilsonP 提问时间:8/28/2023 更新时间:8/28/2023 访问量:24

问:

遇到 LinkedIn 和 LinkedIn Post Inspector 的问题。

此问题与之前发布的项目基本相同

服务器配置为托管多个网站。

来自查找的响应

{
    "errors": [
        {
            "category": "HTTP_FETCH",
            "message": "We encountered a server error while trying to inspect the URL."
        }
    ],
    "urlRedirectTrail": {
        "trail": [
            {
                "url": "https://skills.*****.com",
                "httpStatus": 0
            }
        ],
        "lastModified": 1693207418166,
        "state": "BAD_RESPONSE",
        "key": "https://skills.******.com",
        "created": 1693207418166
    },
    "info": [],
    "warnings": []
}

我有如下所示的 vhost.conf 文件设置。

<VirtualHost 127.0.0.1:443 _default_:443>
  ServerName skills.*****.com
  ServerAlias skills.*****.com
  SSLEngine on

  SSLCertificateFile "/opt/bitnami/apache/conf/star_*****_com_2023.crt"
  SSLCertificateKeyFile "/opt/bitnami/apache/conf/server_2023.key"
  SSLCertificateChainFile "/opt/bitnami/apache/conf/DigiCertCA_2023.crt"
  
  RewriteEngine On
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} !^(localhost|127.0.0.1)
  RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]

  DocumentRoot /home/Serveradmin/skills
  <Directory "/home/Serveradmin/skills">
    Options -Indexes +FollowSymLinks -MultiViews
    AllowOverride All
    Require all granted
  </Directory>
  Protocols h2 h2c http/1.1
  H2Direct on
</VirtualHost>

默认 SSL 配置文件包含以下内容。其中显示了与其他问题匹配的 SSLProtocols。

# Default SSL Virtual Host configuration.

<IfModule !ssl_module>
  LoadModule ssl_module modules/mod_ssl.so
</IfModule>

Listen 443
SSLProtocol all -SSLv2 -SSLv3 -TLSv1.2 -TLSv1.1
SSLHonorCipherOrder on
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !EDH !RC4"
SSLPassPhraseDialog  builtin
SSLSessionCache "shmcb:/opt/bitnami/apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

<VirtualHost _default_:443>
  DocumentRoot "/opt/bitnami/apache/htdocs"
  SSLEngine on
  
  SSLCertificateFile "/opt/bitnami/apache/conf/star_*****_com_2023.crt"
  SSLCertificateKeyFile "/opt/bitnami/apache/conf/server_2023.key"
  SSLCertificateChainFile "/opt/bitnami/apache/conf/DigiCertCA_2023.crt"

  <Directory "/opt/bitnami/apache/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
  </Directory>

  # Error Documents
  ErrorDocument 503 /503.html

  <Location /server-status>
    Require local
    SetHandler server-status
  </Location>
  Protocols h2 h2c http/1.1
  H2Direct on
</VirtualHost>

该网页按预期运行,并包含必要的 OpenGraph 标签。

任何想法将不胜感激。

它在 LinkedIn Post Inspector 中显示的信息与在 DNS.org Open Graph Checker 上显示的信息相同。https://dnschecker.org/open-graph-preview-generate-metatags.php?query=

Apache SSL Bitnami

评论


答: 暂无答案