지금 젠킨스통해서 이미지말아서 EC2내 3000포트로 연결되서
http:도메인:3000으로 프론트이미지가 CI/CD가 구축완료는 했는데
이런식으로 설정했는데
https://도메인 으로들어가면 [http로해도 https로 자동으로매핑되는건..오케이인데]
이런식으로 에러가뜹니다.. 제가원하는 빌더대로 안되고.. 어찌해야하나요
front는 정적파일이라 build하면 build된곳에서 mount시켜야하나요?/
지금 젠킨스통해서 이미지말아서 EC2내 3000포트로 연결되서
http:도메인:3000으로 프론트이미지가 CI/CD가 구축완료는 했는데
이런식으로 설정했는데
https://도메인 으로들어가면 [http로해도 https로 자동으로매핑되는건..오케이인데]
그거 도커 로컬설정해야함 --add-host=host.docker.internal:host-gateway 이런식으로
https://stackoverflow.com/questions/48546124/what-is-the-linux-equivalent-of-host-docker-internal
;; 감사합니다..해보겟슴니다
그리고 proxy_pass
http://localhost:3000;
아니라 proxy_pass
http://host.docker.internal:3000;
으로 해야함