Skip to main content

Overview

This guide explains how to deploy Kaneo using Nginx as a reverse proxy. This setup is ideal for production environments where you want to expose Kaneo through a domain name with HTTPS.

Prerequisites

  • A domain name
  • A SSL certificate
  • A Nginx web server

Installation

The first step is to make sure nginx is installed and running.

Configuration

The next step is to configure Nginx to proxy requests to the Kaneo services. We will create two servers, one for the web application and one for the API.
  1. Create a new file in the /etc/nginx/sites-available/kaneo.conf directory.
kaneo.conf
  1. Enable the configuration by creating a symlink to the sites-enabled directory.
  1. Test the configuration.
  1. Restart Nginx to apply the changes.

Key points

  • This configuration is for a single server, if you want to use a load balancer, you need to configure it accordingly.
  • This configuration is for a single domain, if you want to use a subdomain, you need to configure it accordingly.