문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
nginx:proxy [2014/12/18 21:44] kwon37xi [X-Forwarded-For] |
nginx:proxy [2018/04/04 11:48] kwon37xi [Tomcat 연동] |
||
---|---|---|---|
줄 24: | 줄 24: | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header Host $host; | proxy_set_header Host $host; | ||
+ | proxy_read_timeout 60s; # 응답을 읽기까지의 타임아웃 | ||
} | } | ||
} | } | ||
줄 43: | 줄 44: | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
</ | </ | ||
- | * Tomcat의 [[http:// | + | * [[java: |
===== Sticky Session ===== | ===== Sticky Session ===== | ||
* [[http:// | * [[http:// | ||
* 소스 컴파일해 설치해야만 한다. | * 소스 컴파일해 설치해야만 한다. | ||
+ | |||
+ | ===== Upstream 헤더 내용 로그로 찍기 ===== | ||
+ | * '' | ||
+ | * '' | ||
+ | * [[http:// | ||
+ | |||
===== 참고 ===== | ===== 참고 ===== | ||
* [[http:// | * [[http:// | ||