Hi all,
I am currently setting up the enterprise search free version in my server, I would like to ask is there any way can help to protect the login page? E.g only limit some IP can access the /login path.
Thank you,
Tony
Hi all,
I am currently setting up the enterprise search free version in my server, I would like to ask is there any way can help to protect the login page? E.g only limit some IP can access the /login path.
Thank you,
Tony
Hi @tonytsangln, that's not currently possible in Enterprise Search. I would recommend putting Enterprise Search behind a proxy to add access restrictions.
Hi David,
Thank you for your reply, may I know is there any document can let me know more details?
I set the enterprise search to localhost, and use the nginx reverse proxy to protect, but it seems enterprise search many request (e.g Ajax) still requesting the localhost when I access the login page via the reverse proxy. Is there any setting that I need to apply in enterprise-search config?
Here is my url setting in enterprise search
ent_search.external_url: http://127.0.0.1:3002
ent_search.listen_host: 127.0.0.1
ent_search.listen_port: 3002
Thank you
Tony
You'll need to set ent_search.external_url to whatever host the reverse proxy is exposing.
Thank you, is it correct if my reverse proxy is expose to http://domain1:3003?
ent_search.external_url: http://domain1:3002
ent_search.listen_host: 127.0.0.1
ent_search.listen_port: 3002
external_url should use the exposed port as well: ent_search.external_url: http://domain1:3003
Thank you, it works now.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.