Search This Blog

Monday, November 12, 2018

iBM HTTP SERVER VIRTUAL HOST CONFIG FOR PROXY

<VirtualHost *:443>
 DocumentRoot "d:/IBM/HTTPServer/htdocs"
 ServerName localtest.com.au
 ServerAlias localtest
 ErrorLog logs/localtest-error.log
 CustomLog logs/localtest-access.log deflatelog
 Options -FollowSymLinks -Indexes -ExecCGI
 SSLEnable
 SSLProtocolDisable SSLv3 SSLv2
    SSLClientAuth Required
    SSLClientAuthRequire (CN = "www.myserver.com.au" || CN = "fake server" || OU="LTX,ABC")

## SSLv3 128 bit Ciphers
 #SSLCipherSpec SSL_RSA_WITH_RC4_128_MD5
 #SSLCipherSpec SSL_RSA_WITH_RC4_128_SHA
## FIPS approved SSLV3 and TLSv1 128 bit AES Cipher
 SSLCipherSpec TLS_RSA_WITH_AES_128_CBC_SHA
## FIPS approved SSLV3 and TLSv1 256 bit AES Cipher
 SSLCipherSpec TLS_RSA_WITH_AES_256_CBC_SHA
## Triple DES 168 bit Ciphers
 ## These can still be used, but only if the client does
 ## not support any of the ciphers listed above.
 #Commented out - birthday attack
 #SSLCipherSpec SSL_RSA_WITH_3DES_EDE_CBC_SHA
SSLServerCert mysever.com.au
    ProxyPass     /angular     http://localhost:4200/angular
    ProxyPass     /website1   http://localhost:8081/website
</VirtualHost>

No comments: