Home > front end >  Apache configuration HTTPS port when only the first more effective
Apache configuration HTTPS port when only the first more effective

Time:09-24

 
Listen to 80
Listen to 8081
Listen 443 HTTPS

DocumentRoot/var/WWW/HTML
ServerName www.xxx.cn


DocumentRoot/var/WWW/API
Cn
ServerName API. XXX.


DocumentRoot/var/WWW/admin
Cn
ServerName jin. XXX.


DocumentRoot/var/WWW/HTML
ServerName www.xxx.cn
SSLEngine on
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
SSLCipherSuite RC4 - SHA: either AES128 - SHA: HIGH, MEDIUM:! ANULL:! MD5
SSLCertificateFile/etc/HTTPD/cert/WWW/jinpublic CRT
SSLCertificateKeyFile/etc/HTTPD/cert/WWW/jin. The key
SSLCertificateChainFile/etc/HTTPD/cert/WWW/jin, CRT


DocumentRoot/var/WWW/API
Cn
ServerName API. XXX.SSLEngine on
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
SSLCipherSuite RC4 - SHA: either AES128 - SHA: HIGH, MEDIUM:! ANULL:! MD5
SSLCertificateFile/etc/HTTPD/cert/API/jinpublic. CRT
SSLCertificateKeyFile/etc/HTTPD/cert/API/jin. The key
SSLCertificateChainFile/etc/HTTPD/cert/API/jin, CRT


DocumentRoot/var/WWW/admin
Cn
ServerName jin. XXX.SSLEngine on
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
SSLCipherSuite RC4 - SHA: either AES128 - SHA: HIGH, MEDIUM:! ANULL:! MD5
SSLCertificateFile/etc/HTTPD/cert/admin/jinpublic CRT
SSLCertificateKeyFile/etc/HTTPD/cert/admin/jin. The key
SSLCertificateChainFile/etc/HTTPD/cert/admin/jin, CRT



In 443 ports for only the/var/WWW/HTML that effectively, the latter two were directed to this one, 80 of the HTTPS port three works, the hosts associated with the three domain names, SSL module are also introduced

CodePudding user response:

Under the specific phenomenon to see, I can only provide small ideas:
1, look at the log;
2, restart the Apache service, then use HTTPD. Exe - t command to view the start state;
The reason why I feel like ServerName is not set,
  • Related