anomalizer / ngx_aws_auth

nginx module to proxy to authenticated AWS services
BSD 2-Clause "Simplified" License
470 stars 144 forks source link

ngx_aws_auth do not support s3 compatible protocol #22

Open higkoo opened 8 years ago

higkoo commented 8 years ago

Some compatible s3 service need more conditions parameters, such as Ceph s3.

s3fs-fuse example : https://github.com/s3fs-fuse/s3fs-fuse/issues/305. Need sigv2 for compatible .

Otherwise, you will auth fail and receive '403 Forbidden'.

HTTP/1.1 403 Forbidden
Server: Tengine
Date: Fri, 19 Feb 2016 03:21:18 GMT
Content-Type: application/xml
Content-Length: 158
Connection: keep-alive
x-amz-request-id: tx000000000000000108025-0056c68a2e-c7142-default
Accept-Ranges: bytes
<?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx000000000000000108025-0056c68a2e-c7142-default</RequestId></Error>

image

anomalizer commented 8 years ago

Please try the new code on master. This should take care of your issue