elsiklab / jbrowse_elasticsearch

A JBrowse plugin for generating an elasticsearch database and an express.js adaptor for the Names API
6 stars 0 forks source link

Reverse proxy #8

Closed romens96 closed 5 years ago

romens96 commented 5 years ago

Im new in deaing with reverse proxy issue

I managed to run elasticsearch on a localhost but i am not sure how to configure the reverse proxy so that public can use the elasticsearch feature on the jbrowse i uploaded to cloud server can anyone help in providing a link with tutorial on how to set this reverse proxy up?

cmdcolin commented 5 years ago

Hi @romens96

Reverse proxy is not essential for any setup, the purpose of reverse proxy is to allow a service running on

http://yourhost:1234

to map to

http://yourhost/some_suburl/

Therefore, if you can open up port 1234 to the outside world, then you don't even need to reverse proxy. Many cloud servers allow you to open up arbitrary ports. Some institutional networks only allow some specific port so in that situation it is important to reverse proxy

romens96 commented 5 years ago

Fixed the problem of reverse proxy. Thanks for the assistance