Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- AWS
- xen
- resize2fs
- onpromise
- ntp
- x-real-ip
- nvme
- Error
- Windows
- port
- VPN
- DISK
- 인스턴스타입
- DELETE
- 아마존
- RDS
- deragistration
- EC2
- awscli
- Linux
- fdisk
- centos
- Query
- mysql
- x-forward-for
- 리눅스
- terraform
- ubuntu
- 센토스
- EBS
Archives
- Today
- Total
목록x-forward-for (1)
Cloud

node 백엔드에서 원격지 웹서버의 client IP header 를 가져오는데 127.0.0.1 (undefinded) 라는 헤더값이 온다고 연락 받았습니다. 제가 proxy.conf 를 잘못 설정했나 var/log/nginx access로그를 보니 1.1.1.1 - - [30/Sep/2024:17:04:51 +0900] "POST /api/v1/aa HTTP/1.1" 200 8770 "-" "BestHTTP/2 v2.8.4" "-"2.2.2.2 - - [30/Sep/2024:17:05:04 +0900] "POST /api/v1/bb HTTP/1.1" 200 8770 "-" "BestHTTP/2 v2.8.4" "-" 값은 잘 찍히고 있었습니다. 이로 미루어 보아 헤더값이 제대로 나올 것 같다는 합리적..
카테고리 없음
2024. 9. 30. 19:42