healthcheck (2) 썸네일형 리스트형 AWS ELB - health check (nginx_proxy 설정) AWS ELB - health check (nginx_proxy 설정) index 파일 생성 cat > /etc/nginx/html/healthcheck hello world nginx config 설정 location ^~ /healthcheck.html { root /etc/nginx/html; } 구성 예시 server { listen 80; server_name example.com; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $remote_addr; proxy_redirect off; keepalive_timeout 0; proxy_read_.. AWS ELB - health check (nginx 설정) AWS ELB - health check (nginx 설정) LB 설정 (상태체크 URL) /elb-status nginx 설정 server { location /elb-status { access_log off; return 200 'A-OK!'; add_header Content-Type text/plain; } } nginx 설정 (전체 예시) server { listen 80; server_name example.com; access_log off; error_log /home/search/log/nginx.error.log; server_tokens off; root /home/chandler/html; error_page 403 /403.html; location = /403.html { ro.. 이전 1 다음