Im trying to work out how to set up a reverse proxy I guess to other internal server host other website that has SSL. Now I've seen some metions of a HAProxy and I just have no idea what im really doing. Can someone help me?
you can do it by using the configuration of the webserver per domain from cwp.admin and there you would set proxy to custom IP/port.
How would one go about doing that?
as said using webservers per domain conf in cwp admin, similar to default server configuration used as global config
http://wiki.centos-webpanel.com/webservers-vhost-templates
So Would I create a subdomain on CWP.admin for the selected domain then use the Webserver Domain Conf?
by info from tomcat instructions, it's the same for any app using custom port like nodejs...only port number needs to be replaced.
Configure webservers for domain to be used for Tomcat:
CWP.Admin left Menu -> Webserver settings -> Webserver Domain Conf -> Select Username -> Select Domain/Subdomain -> create configuration -> select any option with (custom port) -> check the box - Rebuild webserver conf for domain on save -> Enter port 8080 for the custom port, leave IP as 127.0.0.1 -> save changes
Copied from:
http://wiki.centos-webpanel.com/how-to-install-ssl-for-tomcat-on-cwp