Obtaining Letsencrypt SSL fails when proxy template set to nodejs3000

Apologies, here’s my setup:

Web template: Apache2
Backend template: php-fpm
Proxy template: nodejs3000.
Now the proxy template I installed I found on this board: NodeJS & Python Web, Script - #2 by Raphael

I’ve got Enable SSL for this domain and Use Let's Encrypt to obtain SSL certificate checked. This setup works for all domains/subdomains apart from the ones using nodejs3000 proxy template.
If I set the proxy template to nodejs3000, the SSL certification fails. However, if I set it to default, I can get the certificate. When I then set the template to nodejs3000, it all works as expected, until the certbot tries to renew the certificate, which fails. Please let me know if this is enough info. Cheers!