Minio

thoven87
PRO

a year ago

There are currently two services deployed as described in the docs, "Bucket", "console". I have configured two subdomains

1 - console.domain.level
2 - files.domain.level
navigating to console.domain.level displays the minio console as expected, but files.domain.level redirects to subdomain.railway.app. 1, What's causing the redirect and 2 which one of these subdomain should I use to upload files and make accessible publicly?

https://railway.app/template/SMKOEA

0 Replies

a year ago

[subdomain.railway.app](subdomain.railway.app) - please provide actual domains.


thoven87
PRO

a year ago

project is e349bbb7-fbe9-42d8-be7f-52bd0bd1c3a0


thoven87
PRO

a year ago

The domains in questions are
[static.brebo.dev](static.brebo.dev) and [files.brebo.dev](files.brebo.dev)


a year ago

have you redeployed both services since adding your custom domains?


thoven87
PRO

a year ago

I have not re redeployed any of the services since adding my custom domains.


a year ago

please go ahead and do that


thoven87
PRO

a year ago

I just did. Now, static.brebo.dev redirect to files.brebo.dev.


a year ago

perfect!


thoven87
PRO

a year ago

I was under the impression I would use files.brebo.dev to mange minio and static.brebo.dev upload and serve files?


a year ago

thats correct


thoven87
PRO

a year ago

Thanks!


a year ago

no problem!


thoven87
PRO

a year ago

I think the reverse proxy might not be configured correctly. I can not login to the console anymore after restart.


a year ago

what reverse proxy?


thoven87
PRO

a year ago

the proxy that's in front of the minio service


thoven87
PRO

a year ago

I think that's internal to railway. I don't have access to that service.


thoven87
PRO

a year ago

This is what I am seeing in the logs

Docs: https://docs.min.io

INFO: Exiting on signal: TERMINATED

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)

Stopping Container

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)

a year ago

where can i see this error for myself?


thoven87
PRO

a year ago

I can't find the deployment id for the minio instance. I assume it's the first part of this railway subdomain? console-staging-c7ff.up.railway.app


a year ago

those are logs the app is printing, not railway


a year ago

i just deployed minio, added custom domains to both console and bucket, redeployed both, and i can't reproduce this error.

i recommend you redeploy the template from scratch, you may have missconfigured something along the way.


thoven87
PRO

a year ago

Thanks, I will try again!


thoven87
PRO

a year ago

I wiped the volume, restarted both the console and bucket. I am able to login again.


a year ago

That works too!


Minio - Railway Help Station