Issue-ID: NONRTRIC-537
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Iabbc7a4d1a9373a762e5f7db83745d2c64d81a46
set $upstream nonrtric-gateway;
proxy_pass http://$upstream:9090;
}
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;
}
}
location / {
try_files $uri $uri/ /index.html;
}
}
-}
\ No newline at end of file
- id: A1-EI
uri: https://localhost:8434
predicates:
- id: A1-EI
uri: https://localhost:8434
predicates:
- - Path=/data-producer/**
+ - Path=/data-producer/**,/data-consumer/**
management:
endpoint:
gateway:
management:
endpoint:
gateway:
org.springframework.cloud.gateway: INFO
reactor.netty: INFO
file:
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:
- id: A1-EI
uri: https://localhost:8434
predicates:
- - Path=/data-producer/**
+ - Path=/data-producer/**,/data-consumer/**
management:
endpoint:
gateway:
management:
endpoint:
gateway:
org.springframework.cloud.gateway: INFO
reactor.netty: INFO
file:
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;
}
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;
}
}
location / {
try_files $uri $uri/ /index.html;
}
}
-}
\ No newline at end of file
"/data-producer": {
"target": "http://localhost:9090",
"secure": false
"/data-producer": {
"target": "http://localhost:9090",
"secure": false
- }
-}
\ No newline at end of file
+ },
+ "/data-consumer": {
+ "target": "http://localhost:9090",
+ "secure": false
+ }
+}