1
nginx 프록시 뒤에 openstack API를 숨기려고합니다.nginx 프록시 뒤의 Openstack API
location /image/api {
proxy_pass http://192.168.200.1:9292/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
나는 눈 이미지 목록
[08/Apr/2014:18:15:07 +0200] 185.39.228.x - - - to: 192.168.200.1:5000: POST /identity/main/tokens HTTP/1.1 upstream_response_time 0.077 msec 1396973707.015 request_time 0.077
185.39.228.x - - [08/Apr/2014:18:15:07 +0200] "POST /identity/main/tokens HTTP/1.1" 200 4128 "-" "python-keystoneclient"
[08/Apr/2014:18:15:07 +0200] 185.39.228.x - - - to: 192.168.200.1:9292: GET /image/api/v1/images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1 upstream_response_time 0.202 msec 1396973707.280 request_time 0.202
185.39.228.x - - [08/Apr/2014:18:15:07 +0200] "GET /image/api/v1/images/detail?sort_key=name&sort_dir=asc&limit=20 HTTP/1.1" 200 3381 "-" "python-glanceclient"
를 사용하는 경우하지만 수평선을 사용할 때 오류를 얻을
[08/Apr/2014:18:15:29 +0200] 217.20.186.x - - - to: -: GET /v1/images/detail?limit=21 HTTP/1.1 upstream_response_time - msec 1396973729.046 request_time 0.000
217.20.186.x - - [08/Apr/2014:18:15:29 +0200] "GET /v1/images/detail?limit=21 HTTP/1.1" 404 177 "-" "python-glanceclient"
나는 수평선 후 링크가 조금 컷이라고 볼 수 있지만, 왜?