Local Development

Reverse proxy for secure and insecure nginx configurations.

Nginx Reverse Proxy

This package can be used to secure all of the data transfered to and from services using SSL encryption and also to generate SSL certificates as well.

Instead of configuring each package separately, we're using this package that will hold all of the Nginx configuration.

It will generate Staging or Production certificates from Let's Encrypt to ensure a secure connection (in case we require SSL to be enabled).

It is responsible for routing network traffic to the correct service.

Structure of Reverse Proxy Nginx package

The current package contains the following:

  • config: A folder that contains the general Nginx config for secure and insecure mode.

  • package-conf-insecure: A folder that contains all the insecure configs related to the services that need outside access.

  • package-conf-secure: A folder that contains all the secure configs related to the services that need outside access.

A job using Ofelia exists to renew the certificates automatically based on the certificate renewal period.

Adding new packages that require external access will require adding the Nginx config needed in this package.

Last updated