Skip to content

Nginx Let's Encrypt 인증서를 통한 https 적용 시, 404 Not Found 발생하는 현상  #14

@daily1313

Description

@daily1313

Summary

  • 기본 경로 allercheck.p-e.kr에는 nginx가 잘 적용되었지만, 개발한 API에 해당하는 URI에 Request를 보내면 404 Not Found가 발생

[기본 경로]
image

Describe

[Error Image]
image

Solution

  • Nginx의 설정파일 경로에 vi 에디터로 접근하여 ssl 443 영역에 location 설정을 해줘서 해결
  • 443 Port로 들어오는 요청을 proxy_pass를 통해 http://localhost:8080 으로 넘겨주도록 설정
location / {
          proxy_pass http://127.0.0.1:8080;
}

Etc

Metadata

Metadata

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