Score:0

Nginx reverse proxy the Minio

ru flag

I am trying to put an Nginx in front of my Minio to serve the static files from the buckets. There are recipes both from Minio and Nginx sites but they never mention a very important concept: credentials. How can I set the simplest way that my nginx can log in to minio and fetch the items? I know there are native codes like python or PHP clients but would like to do it with nginx as it is talking to an upstream web server. Any suggestion?

Michael Hampton avatar
cz flag
Huh? Why would nginx be providing credentials to minio? The user should be doing that.
h.safe avatar
ru flag
Thanks Michael but there are obvious reasons to do so. Imagine a typical scenario where your site static object that accumulate throughout the time need being served. For security reasons the minio needs to be behind the nginx and again for security reasons minio only accepts the access with credentials.
Score:0
ru flag

There is a method explained by:tapos-ghosh Where you will be making basically a bucket public through backend calls from Nginx..it works like a charm and great insight

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.