Re: Ceph S3 nginx Proxy

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

 



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

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux