Configuring the Reverse Proxy

This topic explains how to configure the reverse proxy for File Collaboration Server by customizing the Apache httpd.conf file.

Note: CORS (Cross-Origin Resource Sharing) must be activated for the FCS.

  1. Edit the Apache httpd.conf file
  2. Set the listen tag to the correct port number for the service, for example: Listen 443.
  3. Activate the modules required for the service.

    For more information about the list of modules, see the Program Directory.

  4. Customize the <VirtualHost> tag.
    1. customize the reverse proxy server name and server alias, for example:

      ServerName myserver
      ServerAlias myserver

    2. Activate SSL:

      SSLEngine On
      SSLProxyEngine On

    3. Specify the SSL certificates definition, for example:

      SSLCertificateFile "pathtoyourcertificate\myserver.cer"
      SSLCertificateKeyFile "pathtoyourcertificate\myserver.key"

    4. Add the following line to declare the reverse proxy configuration generated by the service installation:

      • Windows:
        Include <FCSInstallPath>\win_b64\templates\fcs_httpd_fragment.conf
      • Linux:
        Include <FCSInstallPath>/linux_a64/templates/fcs_httpd_fragment.conf

      The service installation creates the following file that already contains the necessary declarations for the reverse proxy:

      • Windows:
        Include <FCSInstallPath>\win_b64\templates\fcs_httpd_fragment.conf
      • Linux:
        Include <FCSInstallPath>/linux_a64/templates/fcs_httpd_fragment.conf

      The contents of the CORS header declaration are also in this file.