콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
질문이 마감되었습니다 이유 : 주제 외 또는 관련없음
작성자 Niyas Raphy (Walnut Software Solutions) 있음 2024년 10월 22일 23시 36분 59초
1120 화면

We host on premise and expose our website for events and such.  I was finishing up the email marketing part and we ran into this error when accessing externally:

ValueError: Setting 'domain' for a cookie on a server running locally (ex: localhost) is not supported by complying browsers. You should have something like: '127.0.0.1 localhost dev.localhost' on your hosts file and then point your server to run on 'dev.localhost' and also set 'domain' for 'dev.localhost'


This occured when the UTM parameters were added to a link.  The resolution despite the message was to set the upstream host in NGINX to the full domain name.  As in:

	upstream mydomain.com {server localhost:8069;}

Debugging into http where the cookie is set was the most useful part that got me to my answer.

Hopefully this will help someone else.

아바타
취소
관련 게시물 답글 화면 활동
naked domain set up 해결 완료
3
7월 25
4595
0
5월 25
1028
2
3월 24
2237
0
1월 23
1827
1
1월 23
2653