Chrome で https にリダイレクトされるサーバー名が 1 つだけなのはなぜですか?

Chrome で https にリダイレクトされるサーバー名が 1 つだけなのはなぜですか?

apache2.4(debian)で2つのvhostを構築しました。

cat   /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
    ServerName www.hwy.local
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error_hwy.log
    CustomLog ${APACHE_LOG_DIR}/access_hwy.log combined
        <Directory /var/www/html>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            allow from all
        </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName www.test.app
    ServerAdmin webmaster@localhost
    DocumentRoot  /home/debian9/app
    ErrorLog ${APACHE_LOG_DIR}/error_hwy.log
    CustomLog ${APACHE_LOG_DIR}/access_hwy.log combined
        <Directory /home/debian9/app>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None
            Require all granted
        </Directory>
</VirtualHost>

入力してwww.hwy.localもリダイレクトされませんhttps://www.hwy.local。入力してwww.test.appもリダイレクトされますhttps://www.test.app。なぜですか?

答え1

Michael Hampton によると、www.test.app のリダイレクトは Apache 構成ファイルから行われるものではないとのことですが、アプリのルート ディレクトリに .htaccess ファイルはありますか? リダイレクトを構成できる可能性があります。

関連情報