Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost _default_:443>
- # General setup for the virtual host
- DocumentRoot "C:\xampp\htdocs"
- ServerName example.com
- ServerAlias *.example.com
- LogLevel debug ssl:info
- ErrorLog "/xampp/apache/logs/error.log"
- TransferLog "/xampp/apache/logs/access.log"
- ErrorLog /xampp/apache/logs/exmaple_error_https.log
- CustomLog /xampp/apache/logs/example_access_https.log combined
- # SSL Engine Switch:
- # Enable/Disable SSL for this virtual host.
- SSLEngine on
- SSLCertificateFile "C:\xampp\apache\ssl\ix.crt"
- #SSLCertificateFile "conf/ssl.crt/server.crt"
- #SSLCertificateFile "conf/ssl.crt/server.crt"
- SSLCertificateKeyFile "C:\xampp\apache\ssl\ix.key"
- #SSLCertificateKeyFile "conf/ssl.key/server.key"
- #SSLCertificateKeyFile "conf/ssl.key/server.key"
- #SSLCertificateChainFile "${SRVROOT}/conf/server-ca.crt"
- SSLVerifyClient require
- SSLVerifyDepth 1
- SSLCACertificateFile "C:\xampp\apache\ssl\origin-pull-ca.pem"
- SSLProxyEngine on
- # Redirect Socket.io connection to the Correct URL
- RewriteEngine On
- RewriteCond %{REQUEST_URI} ^/socket.io [NC]
- RewriteCond %{QUERY_STRING} transport=websocket [NC]
- RewriteCond %{HTTP:Upgrade} websocket [NC]
- RewriteCond %{HTTP:Connection} upgrade [NC]
- RewriteRule /(.*) ws://127.0.0.1:2096/$1 [P,L]
- ProxyPass "/shut" "http://127.0.0.1:2096/shut"
- ProxyPassReverse "/shut" "http://127.0.0.1:2096/shut"
- # Normal HTTPS Connection
- ProxyPass "/" "http://127.0.0.1:2096/"
- ProxyPassReverse "/" "http://127.0.0.1:2096/"
- SSLProxyCACertificateFile "C:\xampp\apache\ssl\origin-pull-ca.pem"
- # Certificate Authority (CA):
- #SSLCACertificatePath "${SRVROOT}/conf/ssl.crt"
- #SSLCACertificateFile "${SRVROOT}/conf/ssl.crt/ca-bundle.crt"
- # Certificate Revocation Lists (CRL):
- #SSLCARevocationPath "${SRVROOT}/conf/ssl.crl"
- #SSLCARevocationFile "${SRVROOT}/conf/ssl.crl/ca-bundle.crl"
- #SSLCARevocationCheck chain
- # Client Authentication (Type):
- #SSLVerifyClient require
- #SSLVerifyDepth 10
- # TLS-SRP mutual authentication:
- #SSLSRPVerifierFile "${SRVROOT}/conf/passwd.srpv"
- # Access Control:
- #<Location />
Add Comment
Please, Sign In to add comment