인프런 커뮤니티 질문&답변
nginx proxy pass 질문드립니다.
작성
·
288
0
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
다음과 같이 nginx에 설정해놓고 실행해보면, 크롬에서는 세션쿠키가 잘 저장이 되는데, 사파리에서는 세션쿠키가 저장이 되지 않습니다. 왜그럴까요?
답변 1
0
제로초(조현영)
지식공유자
https://serverfault.com/questions/646142/ssl-proxying-on-nginx-different-behavior-in-different-clients
이것도 추가해보세요.





추가해보았는데 안됩니다.
사파리 브라우저의 크로스 사이트 추적방지 옵션때문인것 같습니다.