JbossApcheReverseProxy: Difference between revisions
Appearance
Created page with "Category: CAPITAL BANK Category: Apche Jboss '''Aapche-Jboss Reverse Proxy using mod_proxy ''' == Apache Changes == You need to load the mod_ssl module <VirtualHost..." |
No edit summary |
||
| Line 2: | Line 2: | ||
[[Category: Apche Jboss]] | [[Category: Apche Jboss]] | ||
'''Aapche-Jboss Reverse Proxy using mod_proxy ''' | ''' | ||
== Aapche-Jboss Reverse Proxy using mod_proxy == | |||
''' | |||
== Apache Changes == | == Apache Changes == | ||
You need to load the mod_ssl module | You need to load the mod_ssl module | ||
<VirtualHost *:443> | <VirtualHost *:443> | ||
ServerAdmin vijay@tetrain.com | ServerAdmin vijay@tetrain.com | ||
DocumentRoot "/var/www/html" | DocumentRoot "/var/www/html" | ||
| Line 20: | Line 24: | ||
ErrorLog logs/jboss-error.log | ErrorLog logs/jboss-error.log | ||
CustomLog logs/jboss-access.log common | CustomLog logs/jboss-access.log common | ||
</VirtualHost> | </VirtualHost> | ||
:wq! | :wq! | ||
== '''SELINUX Settings''' == | == '''SELINUX Settings''' == | ||
Revision as of 09:36, 10 July 2014
Aapche-Jboss Reverse Proxy using mod_proxy
Apache Changes
You need to load the mod_ssl module
<VirtualHost *:443> ServerAdmin vijay@tetrain.com DocumentRoot "/var/www/html" ServerName 192.168.0.58 SSLEngine on SSLProxyEngine on SSLCertificateFile "/etc/pki/tls/certs/server.crt" SSLCertificateKeyFile "/etc/pki/tls/private/server.key" ProxyRequests On ProxyPass / http://192.168.0.57:28080/ReachWeb/ ProxyPassReverse / http://192.168.0.57:28080/ReachWeb/ ErrorLog logs/jboss-error.log CustomLog logs/jboss-access.log common </VirtualHost> :wq!
SELINUX Settings
Run either of following command to allow SELinux to permit httpd
- setsebool httpd_can_network_connect 1
- /etc/init.d/httpd restart
How to Test
Open web browser and thn open the given link https://202.169.35.37