How can nginx login and access swift storage node automatically?

2016-03-03 Thread AmyAmy
Hi, everybody. I am looking for a way to make my nginx server to login swift proxy server automatically, nginx is a web server ,and swift is a cache proxy for nginx ,which can store static file. What operation I hope the machine to do was like this : 1. client send a request(10.67.247.21/test) vi

Re: openstack swift as a cache proxy for nginx, swift proxy report 401 error when authenticate

2016-03-02 Thread AmyAmy
Thanks for answer. As my swift server is serverd as a proxy server, I can look at swift proxy-server's log which I have mention on my post, it report like this : Mar 1 20:43:48 localhost journal: proxy-logging 192.168.1.1 192.168.1.1 01/Mar/2016/20/43/48 GET /auth/v1.0 HTTP/1.0 401 - Mozilla/5.0%

Re: Does nginx support openstack swift API?

2016-03-02 Thread AmyAmy
Hi, hexiay, I'm trying to find a way to use OpenStack SWIFT with nginx too. After read your post, I got a solution and try to configure Nginx with ngx_http_auth_request_module, but what I got is a 401 error. Based on your answer, you have found a solution, Do you mind sharing it? Or any one has

openstack swift as a cache proxy for nginx, swift proxy report 401 error when authenticate

2016-03-01 Thread AmyAmy
hello, everybody. I am trying to find a way to use Openstack swift to cache static file for a web server such as nginx, the below are request step: 1. nginx is configured as a load balance proxy server and web server. 2. There are several swift , suppose there are 2, that is swift-A,s