Skip to content

Commit 9f01359

Browse files
authored
Merge pull request #110 from AET-DevOps25/feature/convert-server-to-ms
Fix service usage
2 parents 79d89aa + 806a619 commit 9f01359

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ server {
99
}
1010

1111
location /api/ {
12-
proxy_pass http://apigw-service:8080/;
12+
proxy_pass http://apigw-service/;
1313
proxy_set_header Host $host;
1414
proxy_set_header X-Real-IP $remote_addr;
1515
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

server/chat/src/main/java/com/continiousdisappointment/chat/service/UserService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ private String getUserServiceUrl() {
3636
if (Arrays.asList(environment.getActiveProfiles()).contains("dev")) {
3737
return "http://localhost:8081/info";
3838
}
39-
return "http://user-service:8081/info";
39+
return "http://user-service/info";
4040
}
4141
}

0 commit comments

Comments
 (0)