set $upstream nonrtric-gateway;
proxy_pass http://$upstream:9090;
}
+ location /data-consumer/{
+ set $upstream nonrtric-gateway;
+ proxy_pass http://$upstream:9090;
+ }
location / {
try_files $uri $uri/ /index.html;
}
}
-}
\ No newline at end of file
+}
- id: A1-EI
uri: https://localhost:8434
predicates:
- - Path=/data-producer/**
+ - Path=/data-producer/**,/data-consumer/**
management:
endpoint:
gateway:
org.springframework.cloud.gateway: INFO
reactor.netty: INFO
file:
- name: /var/log/nonrtric-gateway/application.log
\ No newline at end of file
+ name: /var/log/nonrtric-gateway/application.log
- id: A1-EI
uri: https://localhost:8434
predicates:
- - Path=/data-producer/**
+ - Path=/data-producer/**,/data-consumer/**
management:
endpoint:
gateway:
org.springframework.cloud.gateway: INFO
reactor.netty: INFO
file:
- name: /var/log/nonrtric-gateway/application.log
\ No newline at end of file
+ name: /var/log/nonrtric-gateway/application.log
set $upstream nonrtric-gateway;
proxy_pass http://$upstream:9090;
}
+ location /data-consumer/{
+ set $upstream nonrtric-gateway;
+ proxy_pass http://$upstream:9090;
+ }
location / {
try_files $uri $uri/ /index.html;
}
}
-}
\ No newline at end of file
+}
"/data-producer": {
"target": "http://localhost:9090",
"secure": false
- }
-}
\ No newline at end of file
+ },
+ "/data-consumer": {
+ "target": "http://localhost:9090",
+ "secure": false
+ }
+}