Please can someone help me on How to set up a reverse proxy in front of the Splunk instance ?
Thanks in advance
Using apache or nginx ?
yes. using apache or nginx.
Might not be exaclty what you are looking for but you should be able to model your Splunk configuration after the example from the SSO configuration:
A basic example is given here in the docs: