Not usable yet!
The generation of the dhparam, the self-signed certificates and the letsencrypt takes time.
These are the states an application takes when the proxy is started.
The self-signed certificate and the dhparam are generated directly when the proxy is started.
- No dhparam or self-signed certificates have been generated. --> http
- Self-signed certificates are generated, but dhparam not yet. --> http
- self-signed certificates and dhparam are generated. --> https, self-signed
- letsencrypt and dhparam are generated. --> https, letsencrypt
docker run --rm -v "certs-volume:/etc/letsencrypt" -v "webroot-volume:/usr/share/nginx/html" certbot/certbot renew