Closed ehginanjar closed 7 months ago
Hi @ehginanjar, the nginx-s3-gateway works on many different S3 compatible object stores and not just AWS. In fact, the test cases for it use Minio. It appears that OBS on its documentation claims it supports the S3 interface.
You may want to tweak some of the following settings to see if it works:
Set AWS_SIGS_VERSION=4
Set S3_STYLE=virtual
Then double check the values you gave for region and bucket.
Also, it may be good to run the test.sh
script to make sure that the image you have built locally passes the tests.
hi @dekobon, sorry I just get back to work on this matter. In my case, I just need to set S3_STYLE
to virtual and it works. Thank you, appreciate it.
Hi,
Similar to this case, I want to ask whether this nginx-s3-gateway support the Huawei OBS? I build the OSS image, prepare the envs, then running it on Mac M1 Pro. I don't see any errors, so I assume credential check and everything work well. This is so far what I have done
docker buildx build --platform linux/arm64 -f Dockerfile.oss -t nginx-plus-s3-gateway .
SERVER SIDE
/s3bucketname/] 172.17.0.1 - - [11/Jan/2024:12:23:45 +0000] "GET / HTTP/1.1" 404 146 "-" "curl/7.77.0" "-" 2024/01/11 12:23:45 [info] 74#74: *5 client 172.17.0.1 closed keepalive connection 2024/01/11 12:23:46 [notice] 76#76: http file cache: /var/cache/nginx/s3_proxy 0.000M, bsize: 4096 2024/01/11 12:23:46 [notice] 1#1: signal 17 (SIGCHLD) received from 76 2024/01/11 12:23:46 [notice] 1#1: cache loader process 76 exited with code 0 2024/01/11 12:23:46 [notice] 1#1: signal 29 (SIGIO) received