Apache Example

 

This topic describes steps to set up Apache as a reverse proxy for ISL Conference Proxy.

Apart from the steps mentioned in the parent topic you will need to change the following setting in ISL Conference Proxy administration:

  1. Set Enable FastCGI frontend to: Yes


Important: Make sure you also enable access on ports 7622 and 7623 from A.B.C.D to E.F.G.H in your firewall.

We have included a sample configuration file, tested with Apache 2.4.23.

The file myssl.cert is a file containing the appropriate certificate for the chosen DNS name (e.g. isl.example.com), modify appropriately.

The file myssl.key is a file containing the private key for the certificate above, modify appropriately.

You should adjust the list of supported ciphers to fit your requirements, values below are just an example.


Important: Make sure you modify the settings to match your requirements and your environment. Perform detailed connection and usage tests before placing such a server in production. Please refer to the Apache documentation for details.

Sample configuration file for Apache (000-default.conf):

 

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule ssl_module modules/mod_ssl.so

<VirtualHost *:80>
 RewriteEngine On
 RewriteCond %{REQUEST_METHOD} =post [NC]
 RewriteRule ^/webaccess/(.*) fcgi://E.F.G.H:7622/webaccess/$1 [P]
 RewriteCond %{HTTP:Upgrade} =websocket [NC]
 RewriteRule ^/(.*) ws://E.F.G.H:7620/$1 [P]
 ProxyPass / http://E.F.G.H:7620/
</VirtualHost>

<VirtualHost *:443>
 SSLEngine on
 SSLCertificateFile "c:/Apache24/conf/myssl.cert"
 SSLCertificateKeyFile "c:/Apache24/conf/myssl.key"
 RewriteEngine On
 RewriteCond %{REQUEST_METHOD} =post [NC]
 RewriteRule ^/webaccess/(.*) fcgi://E.F.G.H:7623/webaccess/$1 [P]
 RewriteCond %{HTTP:Upgrade} =websocket [NC]
 RewriteRule ^/(.*) ws://E.F.G.H:7621/$1 [P]
 ProxyPass / http://E.F.G.H:7621/
</VirtualHost>
Tags: isl conference proxy, reverse proxy

Was this article helpful?