HTTPS and Certificates
For productive use of Enginsight, an encrypted connection via HTTPS is mandatory.
For this purpose, install and configure nginx on the application server. During the automatic installation of Enginsight, nginx is already installed.
So you get the following structure:

Container Ports: 80, 8080
internal Ports: 81, 82 (127.0.0.1:81, 127.0.0.1:82)
You need two domains pointing to the IP address of the application server:
ngs-api.domain.de (Port 80)
ngs-app.domain.de (Port 443)
If you have your own certificate, you can use it. Alternatively, we recommend using Let's Encrypt.
Install nginx
If you have done a manual installation, install nginx first. If you have an automatic installation, you can skip this step.
Define internal ports
Define an internal port in docker-compose.yml for the user interface (ui-m1) and API (server-m2).
1. Navigate to /opt/enginsight/enterprise
2. Open docker-compose.yml.
3. Adjust the ports.
4. Save the file (Ctrl+o) and confirm the saving process. Close nano (Ctrl+x).
5. Run setup.sh for the changes to apply.
Set up Let's Encrypt
1. Customize the configuration of nginx. Open the configuration file.
Automatic installation
Manual installation
2. Use the following template and set your domain.
3. Check the status of nginx and see if the change was successful.
4. Restart nginx.
5. Install certbot.
6. Create a folder for each domain.
7. Create the certificate.
8. Generate the Diffie-Hellman parameters.
Configure certificates and SSL/TLS in nginx
With Let's Encrypt
Customize the configuration of nginx.
1. Open the configuration file.
Automatic installation
Manual installation
2. Use the following template and insert your domain.
3. Check the status of nginx and see if the change was successful.
4. Restart nginx.
With own certificate
Please make sure that the certificate is in PEM format. If not, convert the certificate to PEM format first.
Adjust the configuration of nginx.
1. Open the configuration file.
Automatic installation
Manual installation
2. Use the following template and insert your domain and the paths to the certificates.
3. Check the status of nginx and see if the change was successful.
4. Restart nginx.
Last updated
Was this helpful?