Configuring a private S3 endpoint for archival

Hi, we are hosting a private S3 and wondered how we could use it for archival.
We were able to figure out how to specify credentials but cant find a way to specify a different endpoint for the S3 server.

Any help would be appreciated.