Skip to content

Instantly share code, notes, and snippets.

@raj-rajaratnam
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save raj-rajaratnam/ee377896a41022c9b17f to your computer and use it in GitHub Desktop.

Select an option

Save raj-rajaratnam/ee377896a41022c9b17f to your computer and use it in GitHub Desktop.
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName bamproxy.example.com
ServerAlias bamproxy.example.com
ProxyRequests Off
SSLEngine On
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
SSLCertificateFile /home/rajkumar/security/server.crt
SSLCertificateKeyFile /home/rajkumar/security/server.key
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /bamcarbon https://bam.example.com:9443/carbon
ProxyPassReverse /bamcarbon https://bam.example.com:9443/carbon
ProxyPass /activitymonitoring https://bam.example.com:9443/activitymonitoring
ProxyPassReverse /activitymonitoring https://bam.example.com:9443/activitymonitoring
ProxyPass /messageconsole https://bam.example.com:9443/messageconsole
ProxyPassReverse /messageconsole https://bam.example.com:9443/messageconsole
ProxyPass /bamdashboards https://bam.example.com:9443/bamdashboards
ProxyPassReverse /bamdashboards https://bam.example.com:9443/bamdashboards
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment