---
title: "Minio SignatureDoesNotMatch"
date: 2024-09-17T19:39:22.000Z
author: Z.SHINCHVEN
tags: [Minio, LobeHub, Nginx, Error, Troubleshooting]
canonical: https://atlassc.net/2024/09/18/minio-signaturedoesnotmatch
---
I was trying to set up LobeHub with Minio as the storage backend, but I kept getting the following error when I tried to upload files:

> Error: The request signature we calculated does not match the signature you provided. Check your key and signing method. 

It was the first time I used Minio, and I wasn't sure what was causing the issue. After some research, I [found out](https://stackoverflow.com/a/52598158/2108080) that the error was due to the incorrect Nginx configuration. I copied config from the Stackoverflow answer, and it worked like a charm: 

```nginx
location / {
    proxy_set_header Host            $host;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_pass http://minio;
}
```

You may also want to see the [official documentation](https://docs.min.io/docs/setup-nginx-proxy-with-minio.html) for more information on setting up Nginx with Minio. But I think the official documentation is not working as expected, so I recommend using the Stackoverflow answer.

In this era of ChatGPT, we still need the old Stackoverflow for some quick solutions. The community should thrive forever! 🚀
