Nginx access ceph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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_bucket        test;
   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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux