Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- Am trying to setup nginx to access 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.
- I could see the request coming to ceph in logs.
- server {
- listen 8080;
- server_name localhost;
- #charset koi8-r;
- #access_log /var/log/nginx/log/host.access.log main;
- location / {
- proxy_pass http://10.84.182.80:8080/$uri;
- 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement