Totally new to nginx, I need a conf file to make nginx act as a reverse proxy to serve request on the same host to elasticsearch and kibana with different url path. I mean, I want:
localhost/es -> localhost:9200
localhost/kibana -> localhost:5601
How can I make it?
Thank you