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 that the error was due to the incorrect Nginx configuration. I copied config from the Stackoverflow answer, and it worked like a charm:
nginxlocation / {
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 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! 🚀