Bootstrap options using 2 ports (web and internal API) (edgex-ui-go) #236
-
Hello, TLDR: How to have 2 ports at the same time using Bootstrap in edgex-ui-go, one for the internal API and the other one for serving the web We noticed that the edgex-ui-go serves the web in a specific port that is not the default one (80) for web clients. We're trying to have 2 ports. One external (80) for serving the web, and, another one (the default's) for the internal API, and, do the conversion using the reverse proxy as it is doing it for the rest of the services. The problem here is that Bootstrap manages it and it applies an abstraction layer. In the docs we only see that there is an option for the IP server ServerBindAddr How can we have 2 ports using in edgex-ui-go? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The best way to handle this would be to add second web server running just the Web portion. This would allow for a second port. |
Beta Was this translation helpful? Give feedback.
-
close as answered |
Beta Was this translation helpful? Give feedback.
The best way to handle this would be to add second web server running just the Web portion. This would allow for a second port.
The one in bootstrap is for internal APIs.