1
내 서버 {} 섹션에서 라인을 가지고 :nginx는 사용자 정의 요청 헤더를 제거합니까? 내 nginx.conf에서
header: "-" cookies: "yay"
: 내 접근 로그에 이런 식으로 뭔가를 얻을 수
curl -H "X_MYAPP:test" -H "COOKIE:yay" localhost
내가 할 경우
log_format debug 'header: "$http_x_myapp" cookies: "$http_cookie"';
누군가가 nginx가 X_MYAPP 헤더를 버리고있는 이유를 알고 있습니까?