You can use any web server on Linux that supports TCP-based FastCGI connections, including Nginx, Apache and Lighttpd. The FastCGI functionality may be provided by a module such as mod_proxy_fcgi (for Apache) and that must be enabled in the server configuration. A few sample configurations are given below.
First make sure your web server is installed and running at a basic level – for instance that you can view a sample index.html file included with it. Journyx strongly recommends that you obtain a security certificate and configure your web server for TLS / SSL / https mode first (see the Security Issues section below). Make sure the deflate module is either disabled or else only enabled on specific locations / resources. Journyx recommends that you use the web server packages provided by the operating system where possible and stay current with their security updates. This also applies to the database and memcached packages.
Before you begin, make sure a FastCGI module such as mod_proxy_fcgi (for Apache) is installed and enabled for your web server (see footnote). Find and read the installation instructions for the FastCGI module appropriate to your web server. For example, mod_proxy_fcgi docs for Apache 2.4 can be found here. Note that the mod_proxy_fcgi module is provided by the main httpd package on RHEL7 and does not need to be downloaded separately.
If using Apache make sure that both mod_proxy and mod_proxy_fcgi are enabled in your server configuration. For example on RHEL 7 check that the file exists and is enabled in Apache’s module config as follows. This module should already be installed by the base httpd package on RHEL. Check for the file:
ls -l /usr/lib64/httpd/modules/mod_proxy*
It should list both mod_proxy.so and mod_proxy_fcgi.so
Make sure these modules are enabled in /etc/httpd/conf.modules.d/00-proxy.conf
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
When you install Journyx using the ./jtinstall script described above, you will have to use the --externalfcgi option. Pick any port (not currently in use) above 1024 such as 9091 for the FastCGI service. You will need to enter that port into the web server configuration file virtual host specification.
The currently recommended module for Apache is mod_proxy_fcgi. Other modules like the old mod_fastcgi may work but must support external TCP-based FastCGI. However the newer mod_fcgid does not currently support that. Nginx and Lighttpd typically support proxying to TCP/IP FastCGI out of the box.