2013-03-01 2 views
0

안녕하세요 설정에 nginx를위한 동적 프록시를 원하는 .. 사용자가 요청Nginx의 동적 프록시

" 'http://com.mypc/com.test/8181"는의 nginx의 옛 성은 그것을 리디렉션을 지금

location /X/Y{ 
    proxy_pass http://X:Y; 
    proxy_redirect   off; 
    proxy_next_upstream  error timeout invalid_header http_500; 
    proxy_connect_timeout 1; 
    } 

에 " http://com.test:8181" 내가 문제 당신은 아마 nginx를로드 밸런서 모듈을 쓸 필요가

답변

0

를 해결할 수 있도록

저를 도와주세요. ngx_http_upstream_ip_hash_module.c이 비슷한 기능을 수행하므로 시작하기를 원할 수 있습니다.

Nginx 모듈 작성 안내서 : http://www.evanmiller.org/nginx-modules-guide.html