在網域上啟用 SSL

在網域上啟用 SSL

我想在某個網域上啟用 SSL,但我看不到該網域上的任何內容。網域是 api.conoform.com。

` # 修復 MIME 類型 AddType text/css .css AddType text/html .php AddType text/html .htm AddType text/html .html AddType text/javascript .js AddType text/cache-manifest *.manifest *.manifest.php.manifest.

<FilesMatch "\.manifest|\.manifest\.php$">
    ExpiresActive on
    ExpiresDefault "access"
</FilesMatch>

# Compress some files
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php application/x-httpd-php5 text/css application/x-javascript text/javascript application/javascript application/ecmascript

# Enable rewrite engine
RewriteEngine on

ErrorLog /var/www/.log/error-ssl
LogLevel debug

LimitInternalRecursion 50

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key

DirectoryIndex index.php index.html index.htm
DocumentRoot /var/www/api.conoform.com/

`

我究竟做錯了什麼?當我訪問時收到“此頁面不可用”訊息https://api.conoform.com/

問候,凱文

答案1

看起來 SSH 接管了該連接埠。這是我從 Wireshark 轉儲的資料:

.....R..{UXSj....x..L]....H...5....$.+./..... .. .9.5.... ...........3.2...../. ......api.conoform.com...... .................#..3t..... “.spdy/2.spdy /3.spdy/3.1.http/1.1uO…………………… .SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1

正如您所看到的,它會輸出一個 SSH 標頭。 Putty(我的 SSH 用戶端)在連接埠 443 上工作。

相關內容