
AWS LinuxにLet’s encryptを設定したら正常に表示されてたBugzillaが表示されなくなりました。
少し全体を説明しますと、先ず、AWS LinuxにBugzillaをインストールして、http://example.comでBugzillaが見れていましたがLet’s encryptを設定したら、https://example.comでBugzillaが見れなくなり、apacheのページ表示されるようになりました。
これはどうしたらいいですか?
httpがhttpsになったことで表示されなくなったと思いますがどうしたら https://example.comでも正常に表示されるようにできますか?
httpd.confファイルは下記です.
#Listen 12.34.56.78:80 Listen 80 <VirtualHost *:80> ServerAdmin http://example.jp DocumentRoot /var/www/html/bugzilla <Directory /var/www/html/bugzilla/> AddHandler cgi-script .cgi Options +Indexes +ExecCGI +FollowSymLinks DirectoryIndex index.cgi AllowOverride all Order allow,deny Allow from all </Directory> ServerSignature On </VirtualHost> <VirtualHost *:443> ServerName example.jp DocumentRoot "/var/www/html" SSLEngine on SSLHonorCipherOrder on Header set Strict-Transport-Security "max-age=31536000; includeSubDomains" SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile /etc/letsencrypt/live/example.jp/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.jp/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/example.jp/chain.pem <Directory “/var/www/html”> Options FollowSymLinks AllowOverride None Require all granted </Directory> SetEnvIf Request_URI "\.(gif|jpg|png|css|js)$" nolog ErrorLog logs/error_log CustomLog logs/access_log combined env=!nolog </VirtualHost> <IfModule mod_ssl.c> # If you add NameVirtualHost *:443 here, you will also have to change # the VirtualHost statement in /etc/apache2/sites-available/default-ssl # to <VirtualHost *:443> # Server Name Indication for SSL named virtual hosts is currently not # supported by MSIE on Windows XP. # !important below! NameVirtualHost *:443 </IfModule>
回答2件
あなたの回答
tips
プレビュー