Hey @Shubham_Lohar!
It looks like it is possible to set up Retool with a reverse proxy using the BASE_DOMAIN variable (docs), however, as mentioned here, Retool doesn't currently support a reverse proxy deployment on a path. Could that work for your use case?
As to your second question, Retool lets you configure an HTTPS portal using NGINX (more docs!) could that be what you're referencing?