Automate - Publishing Behind a Reverse Proxy

 

The material in this document is for informational purposes only. This guide assumes that the most recent version of Rampiva Automate is in use unless otherwise noted in the prerequisites. The products it describes are subject to change without prior notice, due to the manufacturer’s continuous development program. Rampiva makes no representations or warranties with respect to this document or with respect to the products described herein. Rampiva shall not be liable for any damages, losses, costs or expenses, direct, indirect or incidental, consequential or special, arising out of, or related to the use of this material or the products described herein.

Introduction

This article provides an example configuration for publishing Nuix Rampiva behind an nginx reverse proxy under a subfolder.

Prerequisites 

  • Nuix Rampiva v8.0 or later

  • nginx


Instructions

A. Sample nginx location section configuration

location /app/ { # Disable request and response buffering proxy_request_buffering off; proxy_buffering off; proxy_http_version 1.1; # Add X-Forwarded-* headers proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Set the X-Forwarded-Base-Uri header to the public URI under which the app is accessible externally proxy_set_header X-Forwarded-Base-Uri http://external.rampiva.com/app/; # Remove application subfolder from proxied request rewrite ^/app/?(.*) /$1 break; # Send requestes to internal Rampiva URI proxy_pass http://10.0.0.1:81; }