Elasticsearch reverse proxy on litespeed

how can we do this on litespeed

<VirtualHost *:8080>
ProxyPass “/” “http://localhost:9200/
ProxyPassReverse “/” “http://localhost:9200/

Here’s how to do:

tried that and it doesnt works as
curl -i http://localhost:8080/_cluster/health doesnt works
added the redirect under Rewrite Rules but not working

It works for sure. I have 8 domains that work as a reverse proxy. Read carefully what needs to be done. You redirect a non-standard port to work on a standard domain, i.e. on the server it runs on port xxxx but you have access as domain.ltd.

See Method 3: Proxying with Rewrite Rules. Very versatile and works like a charm.