On Wed, Nov 26, 2014 at 9:43 AM, atedja.nm <[email protected]> wrote:
>
>         location /couchbase/ {
>                 expires                 off;
>
>                 proxy_pass              http://couchbase/;
>                 proxy_redirect          default;
>
>                 proxy_set_header        X-Real-IP $remote_addr;
>                 proxy_set_header        X-Forwarded-For 
> $proxy_add_x_forwarded_for;
>         }


Try to proxy authentication headers too like this

  proxy_set_header  Authorization $http_authorization;
  proxy_pass_header Authorization;


--
Sergey Avseyev

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to