0

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?

h.safe
  • 131
  • 1
  • 7
  • Huh? Why would nginx be providing credentials to minio? The user should be doing that. – Michael Hampton Aug 25 '21 at 20:43
  • 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. – h.safe Aug 28 '21 at 14:07

1 Answers1

0

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

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
h.safe
  • 131
  • 1
  • 7