It creates a folder, the nginx vhost for certbot and HTTP redirects, and also runs certbot and recreates the nginx vhost that includes the TLS cert
Also add nginx config for reverse proxying and set up Let's Encrypt automatically