NGINX proxy pass configuration to Stardog Cloud

We had an instance setup on AWS with our own DNS name dor the connection. With the transition to Stardog Cloud, we tried to setup an NGINX proxy pass configuration for our old DNS named connection to the new sd-#######.stardog.cloud connection. However, a standard proxy pass configuration doesn't seem to work. Any suggestions?