문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 마지막 판 양쪽 다음 판 | ||
nginx:proxy [2018/04/04 11:58] kwon37xi [Tomcat 연동] |
nginx:proxy [2019/05/23 14:58] kwon37xi |
||
---|---|---|---|
줄 23: | 줄 23: | ||
proxy_cookie_path /example /; | proxy_cookie_path /example /; | ||
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 X-Forwarded-Proto $scheme; | ||
proxy_set_header Host $host; | proxy_set_header Host $host; | ||
proxy_read_timeout 60s; # 응답을 읽기까지의 타임아웃. send_timeout 과 함께 조정 | proxy_read_timeout 60s; # 응답을 읽기까지의 타임아웃. send_timeout 과 함께 조정 | ||
줄 54: | 줄 55: | ||
* '' | * '' | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ===== Keep Alive ===== | ||
+ | * nginx - upstream 간에 Keep Alive 설정을 하는 것이 성능상 유리하다. | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||