Skip to content

Commit ce6c091

Browse files
authored
Merge pull request #32 from JobDri-Developer/feat/nginx
[Docs] 운영 API 도메인 및 Nginx HTTPS 설정 문서화 (#21)
2 parents 42bd3d1 + f2ff8fd commit ce6c091

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,29 @@ GitHub Actions 배포 secret:
5959

6060
```bash
6161
/opt/jobdri-api
62+
```
63+
64+
서버에는 아래 파일이 필요합니다.
65+
66+
```text
67+
docker-compose.prod.yml
68+
.env
69+
```
70+
71+
## 운영 API 도메인
72+
73+
운영 API는 Nginx reverse proxy와 Let's Encrypt 인증서를 통해 HTTPS로 제공됩니다.
74+
75+
```text
76+
https://api.jobdri.site
77+
```
78+
79+
- Nginx는 80/443 요청을 Spring Boot API 컨테이너의 8080 포트로 프록시합니다.
80+
- SSL 인증서는 Certbot으로 발급했으며 자동 갱신이 설정되어 있습니다.
81+
- 상태 확인: `https://api.jobdri.site/actuator/health`
82+
83+
정상 응답:
84+
85+
```json
86+
{"status":"UP","groups":["liveness","readiness"]}
87+
```

0 commit comments

Comments
 (0)