We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bce851 commit f25eac8Copy full SHA for f25eac8
nginx/nginx.conf
@@ -18,6 +18,10 @@ http {
18
server api:8080;
19
}
20
21
+ upstream tuk-monitoring {
22
+ server api:8081;
23
+ }
24
+
25
server {
26
listen 80;
27
server_name api.tuk.kr;
@@ -57,7 +61,7 @@ http {
57
61
58
62
59
63
location /actuator/health {
60
- proxy_pass http://tuk-api/actuator/health;
64
+ proxy_pass http://tuk-monitoring/actuator/health;
65
proxy_set_header Host $host;
66
proxy_set_header X-Real-IP $remote_addr;
67
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
tuk-api/src/main/resources/application.yml
@@ -33,9 +33,7 @@ springdoc:
33
34
management:
35
server:
36
- address : 127.0.0.1
37
port: 8081
38
- ssl: false
39
endpoints:
40
web:
41
exposure:
0 commit comments