HTTPS(SSL)のポート番号を変更する方法
Modified: 26 July 2004
Apache2では、SSL関連の設定は、"/etc/httpd/conf.d/ssl.conf" の3箇所を変更します。
:
#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Listen 8443
:
##
## SSL Virtual Host Context
##
<VirtualHost _default_:8443>
# General setup for the virtual host, inherited from global configuration
#DocumentRoot "/var/www/html"
ServerName www.example.com:8443
:設定後は、以下のコマンドで、有効にします。
# service httpd reload