sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 66 forks source link

feature request: set miniweb base url for proxy #1411

Open samon11 opened 4 years ago

samon11 commented 4 years ago

We are running multiple instances of minimega and therefore multiple instances of miniweb. However we would like to connect to all of these instances via a single nginx proxy i.e.

http://<nginx-ip>/miniweb1/connect/foo
http://<ngnix-ip>/miniweb2/connect/foo

I have not found any official documentation on how to accomplish this. Are there any current workarounds to make this possible?

EDIT: I should clarify that we primarily want to proxy miniweb so that we can access the VNC connections at /miniweb1/vnc/. If the VNC server already supports setting a proxy URL then this will serve our use case.

mkunz7 commented 4 years ago

If you launch minimega in the same context. Miniweb on server1 should be able to interact with vms on server2.