irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

edit endpoint name :8080/metalnx? #357

Open DOC-MEX opened 3 months ago

DOC-MEX commented 3 months ago

is it possible to change the word used as endpoint? Instead of having 127.0.0.1:8080/metalnx, could it be 127.0.0.1:8080/testmetalnx?

korydraughn commented 3 months ago

It may be possible, but that would require investigation.

Why is changing the URL endpoint name important? Is it a hard requirement?

DOC-MEX commented 3 months ago

I see, so it not not a parameter in the settings. It is not crucial at the moment, I need another instance for running live tests. The problem is that they are running in different machines behind a proxy, but since I cannot change the endpoint It is not possible to redirect the traffic without getting one ignored. I suppose that adding an extra word to the url is also not trivial, something like 127.0.0.1:8080/alpha/metalnx. I think another solution could be that I get subdomains for each machine...

trel commented 3 months ago

You may also be able to add an additional layer of proxy to give them different apparent names?

korydraughn commented 3 months ago

I second what @trel said. Introducing a proxy (i.e. nginx or httpd) will allow you to run different instances however you want.