This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a2enmod proxy_http | |
| a2enmod ssl | |
| a2enmod proxy_balancer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo a2ensite default-ssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 127.0.0.1 bam.example.com | |
| 127.0.0.1 bamproxy.example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /home/rajkumar/security/server.key -out /home/rajkumar/security/server.crt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:443> | |
| ServerAdmin techops@wso2.com | |
| ServerName bamproxy.example.com | |
| ServerAlias bamproxy.example.com | |
| ProxyRequests Off | |
| SSLEngine On | |
| SSLProxyEngine On | |
| SSLProxyVerify none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo service apache2 restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <HostName>bam.example.com</HostName> | |
| <MgtHostName>bam.example.com</MgtHostName> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ProxyContextPath>/bamcarbon</ProxyContextPath> | |
| <WorkerProxyContextPath></WorkerProxyContextPath> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install apache2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <proxy xmlns="http://ws.apache.org/ns/synapse" | |
| name="StockQuoteProxy" | |
| transports="http" | |
| statistics="disable" | |
| trace="disable" | |
| startOnLoad="true"> | |
| <target> | |
| <inSequence> | |
| <property name="OUT_ONLY" value="true"/> |