Enabling HTTPS

To set up an httpd reverse proxy, use as an example the fragment generated in your configuration directory during the installation.

Add the fragment to your httpd configuration:

<VirtualHost *:443>
…
IncludeOptional $CLOUD_CONNECTOR_INSTALL_DIR/$ARCH/er-crawler/examples/httpd/httpd_fragment.con[f]

Result: Fragment example:

cat $CLOUD_CONNECTOR_INSTALL_DIR/$ARCH/er-crawler/examples/httpd/httpd_fragment.conf

<Location /er-crawler-service-webapp>
    RequestHeader set x-forwarded-hostname "localhost"
    RequestHeader set x-forwarded-proto "https"
    RequestHeader set x-forwarded-port  "443"

    ProxyPass           http://127.0.0.1:8180/er-crawler-service-webapp
    ProxyPassReverse    http://127.0.0.1:8180/er-crawler-service-webapp
</Location>

<Location /er-crawler-manager-webapp>
    RequestHeader set x-forwarded-hostname "localhost"
    RequestHeader set x-forwarded-proto "https"
    RequestHeader set x-forwarded-port  "443"

    ProxyPass           http://127.0.0.1:8180/er-crawler-manager-webapp
    ProxyPassReverse    http://127.0.0.1:8180/er-crawler-manager-webapp
</Location>