We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 79d89aa + 806a619 commit 9f01359Copy full SHA for 9f01359
client/nginx.conf
@@ -9,7 +9,7 @@ server {
9
}
10
11
location /api/ {
12
- proxy_pass http://apigw-service:8080/;
+ proxy_pass http://apigw-service/;
13
proxy_set_header Host $host;
14
proxy_set_header X-Real-IP $remote_addr;
15
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
server/chat/src/main/java/com/continiousdisappointment/chat/service/UserService.java
@@ -36,6 +36,6 @@ private String getUserServiceUrl() {
36
if (Arrays.asList(environment.getActiveProfiles()).contains("dev")) {
37
return "http://localhost:8081/info";
38
39
- return "http://user-service:8081/info";
+ return "http://user-service/info";
40
41
0 commit comments