Skip to content

[FIX] 업로드된 이미지 파일(URL) 접근 시 Nginx 404 Not Found 에러 발생 #119

@yyuneu

Description

@yyuneu

🔥 Severity (심각도)

High (주요 기능 장애)

📝 Description & Logs

현재 프론트엔드에서 장소 및 마스코트 등의 이미지 업로드 API(/sites/{siteId}/places/image)를 호출하면, 백엔드로부터 다음과 같은 형식의 imageUrl을 반환받고 있습니다.
https://realguideon.duckdns.org/internal/files/2/e4f72aac...png
프론트엔드는 이 URL을 그대로 <img> 태그에 바인딩하여 렌더링하고 있으나, 브라우저가 해당 위치 서버로 이미지를 요청할 때 404 Not Found 에러가 발생합니다.

https://realguideon.duckdns.org/internal/...로 다이렉트 접근을 시도할 때 Nginx 라우팅 정책에 의해 차단되거나 프록시를 찾지 못하고 404 에러를 반환하는 것으로 파악됩니다.

🔄 Steps to Reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions