@scrum unless you had the problem of another reverse proxy already having ssl certs in that case you can move the https settings in nginx config to http and it will work fine as long as it is behind the reverse proxy and you only visit the reverse proxy link
@lamp@scrum mashtodon.alterracloud.com is behind that exact setup i moved the https settings to http and it works fine as long as you visit mashtodon from the correct domain