nginx http_x_forwarded_for 썸네일형 리스트형 [리눅스] nginx에서 X-Forwarded-For(XFF) 설정하는 방법 nginx에서 X-Forwarded-For(XFF) 설정하는 방법 nginx는 X-Forwarded-For 헤더를 사용하여 클라이언트의 실제 IP 주소를 확인할 수 있다. nginx 설정 파일 편집 set_real_ip_from ; real_ip_header X-Forwarded-For; sudo vim /etc/nginx/nginx.conf http { ... set_real_ip_from 0.0.0.0/0; real_ip_header X-Forwarded-For; ... } nginx 설정(nginx.conf) 파일 문법 검사 nginx -t $ nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: config.. 더보기 이전 1 다음