LogoLogo
Zero Density PortalZero Density Academy
Reality 5.3 SP1
Reality 5.3 SP1
  • Reality 5.3 SP1
    • What's New
    • User Guide
      • What is Reality Editor?
      • What is Reality Engine?
      • What is Reality Hub?
        • System Overview
      • Reality Workflow
      • Launcher
        • Launcher Interface
        • Engine Status Colors
        • Engine Display Window
        • New Launch Configuration
      • Nodegraph/Actions
        • Nodegraph
          • Node Structure
          • Node Details Panel
            • Property
            • Function
            • Function Property
            • Advanced Property
            • Node Details Info Display
            • Node Property Toolset
          • Node Context Menu
          • Nodegraph Menu
            • Graphs
          • Portal Pin
          • Sink Pin
          • Reroute
          • Node Comment
          • Asset Browser
          • Advanced Preview Monitor
          • Operating Nodegraph
            • Navigating Inside Nodegraph
            • Creating Node
            • Multiple Node Operations
            • Node Connections
            • Incrementing and Changing Decimals
            • GamePad
            • Node Info Display
            • Simplifying Node Network
        • Actions
          • Action Timeline Interface
          • Keyframe Types
          • Interpolations
          • Operating Actions
          • Animating Property
          • Triggering Multiple Actions via Single Button
          • Utilizing Initial Keyframe
          • Animation Workflow Tips
        • Form Builder
          • Form Builder Interface
          • Form Builder Components
          • Customizing Component Appearance
          • Operating Form Builder
          • Data Integration
        • Gang Mode
          • Activating Gang Mode
          • Operating Gang Mode
      • Playout
        • Operating Playout
      • Newsroom
      • Cook Manager
      • User Management
        • Advanced User Management
          • User Management UI
          • Role of the Admin and Administrators
          • Example Configuration
          • License Reservation
        • Basic User Management
      • Controlling Unreal Engine 5.3
        • Introduction
        • Supported Versions
        • Available Features
        • UState
          • UState User Interface
          • APM for Unreal Engine 5.2
        • Configuration
          • Unreal Engine 5.1 Configuration
          • RealityHub Configuration for Unreal Engine 5.1
        • Example Pipeline
          • Preparation
          • Exposing Actor Functions
          • Exposing Actor Parameters
          • Grouping Exposed Items
          • Creating Logic
          • Viewport Navigation
          • Unreal Project inside RealityHub
          • Utilizing Media Framework Tools
          • Operating
    • Installations
      • System Requirements
      • Downloading Distributions
      • Installations
        • Installing Reality 5.3
        • Installing Reality Hub
          • Upgrading and Downgrading
          • Database Backup and Restore
          • Database Recovery
          • Installation Recap
      • Licensing Reality
        • Licensing Reality 5.3
        • Licensing Reality Hub
    • Configurations
      • Configuring Peripheral Devices
        • NVidia Configuration
        • AJA Configuration
      • Configuring Reality Hub
        • General Configuration
        • Reality Loader
          • RealityEngine AMPERE Led Display
        • Engine Module Configuration
          • Adding Host
          • Adding Groups
          • Channel Assignments
          • General Engine Configuration
        • Project Configuration
        • Project Scanning
        • Cache Management
        • SSL Configuration
    • Integrations
      • Octopus Integration
        • Reality Hub MOS Configuration for Octopus
        • Octopus Configuration
        • Utilizing ZD MOS Plugin
      • iNEWS Integration
        • Reality Hub MOS Configuration for iNEWS
        • iNEWS Configuration
      • CII Module Configuration
    • Tutorials
      • Reality Actor Spawning
      • Using Plugins
      • Tracked Billboard
      • Green Screen Virtual Studio
      • Shadow and Ambient Occlusion in Augmented Reality
    • Developers Guide
      • Reality Hub Open-Source SDK
      • REST API
    • FAQ
      • Frequently Asked Questions
      • Glossary
      • How to Read this Documentation
Powered by GitBook
On this page
  • Configuration Steps
  • Nginx Configuration
  1. Reality 5.3 SP1
  2. Configurations
  3. Configuring Reality Hub

SSL Configuration

PreviousCache ManagementNextIntegrations

Last updated 1 year ago

Reality Hub, by default, uses HTTP port 80 to serve its front-end to browser. To encrypt the network traffic between the Reality Hub Server and the browser, you need to configure the SSL (Secure Socket Layer) layer.

To configure SSL, you must obtain a valid certificate from an authorized provider. Please consult your network administrator to get help obtaining the certificate.

Configuration Steps

  • Install Reality Hub Server and set its HTTP port to a different one than your clients will connect. The port that clients will use will be configured in the Nginx configuration.

  • Make sure that Reality Hub Server is accessible from the same host that it is installed on.

  • Install Nginx Server

  • Configure Nginx as below

  • Restart Nginx

For Reality Hub version 1.3.0 and older, please make sure that your Nginx installation supports .

Nginx Configuration

worker_processes  4;

events {
  worker_connections  1024;
}

http {
  map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
  }

  upstream rh {
    # HTTP IP & Port configured in the RealityHub installation
    server 127.0.0.1:3000;
  }

  server {
    # Default HTTP port to redirect all connections to SSL site
    listen 80;
    location / {
      return 301 https://$host$request_uri;
    }
  }

  server {
    # Default SSL port (may configure it to a different port)
    listen       443 ssl;
    server_name  localhost; 
    
    # Locations of the certificate and key files.  
    ssl_certificate      d:/nginx/nginx-selfsigned.crt;
    ssl_certificate_key  d:/nginx/nginx-selfsigned.key;

    ssl_session_cache    shared:SSL:1m;
    ssl_session_timeout  5m;

    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers  on;

    location / {
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-NginX-Proxy true;
      proxy_pass http://rh;
      proxy_ssl_session_reuse off;
      proxy_set_header Host $http_host;
      proxy_cache_bypass $http_upgrade;
      proxy_redirect off;
      
      proxy_http_version 1.1;        
      proxy_set_header Upgrade $http_upgrade;        
      proxy_set_header Connection "upgrade";
      proxy_cookie_flags ~ secure samesite=none;
      
      # Uncomment the following lines if you are using RealityHub version 1.3.0 and older.
      # sub_filter_types application/javascript;
      # sub_filter 'ws://' 'wss://';
      # sub_filter_once off;
    }
  }
}

nginx_http_sub_module