[ceph-users] Nginx access ceph
Hi, I am trying to setup nginx to access html files in ceph buckets. I have setup - https://github.com/anomalizer/ngx_aws_auth Below is the nginx config . When I try to access http://hostname:8080/test/b.html - shows signature mismatch. http://hostname:8080/b.html - shows signature mismatch. I could see the request passed from nginx to ceph in ceph logs. server { listen 8080; server_name localhost; location / { proxy_pass http://10.84.182.80:8080; aws_access_key GMO31LL1LECV1RH4T71K; aws_secret_key aXEf9e1Aq85VTz7Q5tkXeq4qZaEtnYP04vSTIFBB; s3_buckettest; set $url_full '$1'; chop_prefix /test; proxy_set_header Authorization $s3_auth_token; proxy_set_header x-amz-date $aws_date; } } I have set ceph bucket as public ( not private ). Request to kindly help. Regards, Ram ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] Nginx access ceph
Hi, I am trying to setup nginx to access html files in ceph buckets. I have setup - https://github.com/anomalizer/ngx_aws_auth Below is the nginx config . When I try to access http://hostname:8080/test/b.html - shows signature mismatch. http://hostname:8080/b.html - shows signature mismatch. I could see the request passed from nginx to ceph in ceph logs. server { listen 8080; server_name localhost; location / { proxy_pass http://10.84.182.80:8080; aws_access_key GMO31LL1LECV1RH4T71K; aws_secret_key aXEf9e1Aq85VTz7Q5tkXeq4qZaEtnYP04vSTIFBB; s3_buckettest; set $url_full '$1'; chop_prefix /test; proxy_set_header Authorization $s3_auth_token; proxy_set_header x-amz-date $aws_date; } } I have set ceph bucket as public ( not private ). Request to kindly help. http://pastebin.com/Lhyhk7xk Regards, Ram ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com