AWS LIGHTSAIL CONTAINER SERVICE SERVICE_CON NOT WORKING

0

Hi! I have a web app serving publicly in a port and access an API both in the same Container Service. I am trying to use SERVICE_CON service://localhost as suggested by documentation but it is not working. Any clue? I can see both logs for containers look good, both on steady state serving on both ports.

I use that as the VITE_BASE_URL in the client app to access the API endpoints but the browser complains saying:

service://localhost:3001/api/myassessment ----> URL scheme "service" is not supported.

If anyone has any idea how to fix this, I would appreciate your comments. I also tried using nginx to proxy pass the access to API but using the private domain for my container service does not work as expected.

질문됨 8달 전84회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠