The application is designed to be used behind a reverse proxy like nginx, traefik or apache2, that handles the tls termination and proxies the requests to the application.
This page contains some example configurations for popular reverse proxies.
The following example configuration assumes that the application is running on 127.0.0.1:8080 and the reverse proxy is running on port 443.
It also assumes that you already have a valid ssl certificate and key for your domain.
The following example configuration assumes that an https entry point is set up.