Skip to content

Commit f25eac8

Browse files
committed
feat: nginx.conf 설정 변경
1 parent 4bce851 commit f25eac8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

nginx/nginx.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ http {
1818
server api:8080;
1919
}
2020

21+
upstream tuk-monitoring {
22+
server api:8081;
23+
}
24+
2125
server {
2226
listen 80;
2327
server_name api.tuk.kr;
@@ -57,7 +61,7 @@ http {
5761
}
5862

5963
location /actuator/health {
60-
proxy_pass http://tuk-api/actuator/health;
64+
proxy_pass http://tuk-monitoring/actuator/health;
6165
proxy_set_header Host $host;
6266
proxy_set_header X-Real-IP $remote_addr;
6367
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

tuk-api/src/main/resources/application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ springdoc:
3333

3434
management:
3535
server:
36-
address : 127.0.0.1
3736
port: 8081
38-
ssl: false
3937
endpoints:
4038
web:
4139
exposure:

0 commit comments

Comments
 (0)