배포 (1) 썸네일형 리스트형 NGINX 무중단 배포 * "스프링 부트와 AWS로 혼자 구현하는 웹 서비스 " 책을 보고 저에게 맞게 적용한 내용을 정리하였습니다. 1. 설정 파일 /etc/nginx/nginx.conf proxy_pass : 80 포트로 연결할 주소 및 포트 (ex)localhost:8081) proxy_set_header : 80 포트의 헤더의 요청값을 그대로 가져와 연결 include : service_url 변수의 값을 할당 받기 위해 import 1 2 3 4 5 6 7 include /etc/nginx/conf.d/service-url.inc; location / { proxy_pass $service_url; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward.. 이전 1 다음