0

I have deployed standalone Minio in a server. I also have my backend running in it. So the enpoints would be something like this:

Minio URL: https://example.com/minio

Backend URL: https://example.com/api

When I tried to setup Minio configuration in my node project, I get error. Can you help me in setting this up?

Here is my code:

  let client = new Minio.Client({
        endPoint: 'example.com/minio',
        useSSL: true,
        accessKey: 'xxxxx',
        secretKey: 'xxxxx'
      })
Kousika Ganesan
  • 539
  • 1
  • 6
  • 22

1 Answers1

0

There are two ways we can do this:

  1. Add a subdomain like minio.example.com in the endpoint
  2. We can configure a particular port in MINIO_OPTS and we can redirect to the port when we have "/minio"
Kousika Ganesan
  • 539
  • 1
  • 6
  • 22