...
| Code Block |
|---|
<VirtualHost *:80 *:443>
ServerName qsok.com
ServerAlias *.qsok.com
Timeout 2400
ProxyTimeout 2400
ProxyBadHeader Ignore
RewriteEngine On
RewriteRule ^/$ http://qsok.com/display/KB
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
ProxyPass /robots.txt !
ProxyPass /new-login !
ProxyPass /usage !
ProxyPass /sysadmin !
ProxyPass /synchrony http://127.0.0.1:8091/synchrony
<location /synchrony>
Require all granted
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://127.0.0.1:8091%{REQUEST_URI} [P]
</Location>
ProxyPass / http://127.0.0.1:8090/
ProxyPassReverse / http://127.0.0.1:8090/
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite HIGH:MEDIUM:!SSLv2:!PSK:!SRP:!ADH:!AECDH
SSLCertificateKeyFile "/opt/ssl/qsok.key"
SSLCertificateFile "/opt/ssl/STAR_its-qsok.com.crt.pem"
SSLCACertificateFile "/opt/ssl/STAR_its-qsok.com.ca-bundle"
DocumentRoot "/pub/qsok.com/"
CustomLog /var/log/httpd/qsok.com-access.log combined
ErrorLog /var/log/httpd/qsok.com-error.log
</VirtualHost>
|
Note that STAR_its-qsok.com.crt.pem = STAR_its-qsok.com.crt + STAR_its-qsok.com.ca-bundle