[ceph-users] Ceph S3 nginx Proxy

nigel davies nigdav007 at gmail.com
Fri Nov 3 04:58:31 PDT 2017


Thanks for your info Jack

i just got it working by adding

proxy_set_header Host $host;

and it now started to work

On Fri, Nov 3, 2017 at 11:32 AM, Jack <ceph at jack.fr.eu.org> wrote:

> My conf (may not be optimal):
>
> server {
>         listen 443 ssl http2;
>         listen [::]:443 ssl http2;
>         server_name FQDN;
>
>         ssl_certificate /etc/ssl/certs/FQDN.crt;
>         ssl_certificate_key /etc/ssl/private/FQDN.key;
>         add_header Strict-Transport-Security 'max-age=31536000; preload';
>
>         location / {
>                 include proxy_params;
>                 proxy_redirect off;
>                 proxy_pass http://127.0.0.1:1234;
>                 client_max_body_size 0;
>                 proxy_buffering off;
>         }
> }
>
> And ceph's:
> [client.radosgw.gateway]
> host = rgw
> rgw_frontends = civetweb port=127.0.0.1:1234
> keyring = /etc/ceph/keyring.radosgw.gateway
>
>
> On 03/11/2017 12:26, nigel davies wrote:
> > Hay all
> >
> > I am trying to set up an ceph cluster with an s3 buckets setup with an
> > nignx proxy.
> >
> > I have the ceph and s3 parts working. :D
> >
> > when i run my php script through the nginx proxy i get an error
> > "<?xml version="1.0"
> > encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>"
> >
> >
> > but direct it works fine.
> >
> > Has any one come across this before and can help out?
> >
> > Thanks
> >
> >
> >
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users at lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20171103/a0042c22/attachment.html>


More information about the ceph-users mailing list