Skip to content

Commit cef3110

Browse files
authored
Allow connecting to storage via nginx. (#130)
1 parent bd15c18 commit cef3110

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

custom-nginx-reverse-proxy.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ http {
2929
server 10.200.10.1:8791;
3030
}
3131

32+
upstream storage_http {
33+
server 10.200.10.1:8891;
34+
}
35+
3236
upstream mainchain_rpc_http {
3337
server 10.200.10.1:8545;
3438
}
@@ -81,7 +85,7 @@ http {
8185
# Data REST endpoints
8286
location ~ /api/v1/streams/(.*)/(data|data/partitions/.*)$ {
8387
add_header X-debug "/api/v1/streams";
84-
proxy_pass http://brokers_http;
88+
proxy_pass http://storage_http;
8589
proxy_read_timeout 240s;
8690
}
8791

0 commit comments

Comments
 (0)