I attempted to create an webproxy service to a backend service which had TLS enabled however i noticed that the webproxy always makes requests to the backend using clear text http. It would be nice if there was a way to indicate to the webproxy that the backend has TLS and it should expect to establish a TLS session before talking HTTP.
For now and as this is an internal service i think its fine to blindly trusting any CA as the addition of encryption would still be an improvement.
The proxies config file is here
The lua code that needs to be rechecked so it can handle http/https protocols is here
This also includes adding an option to the horizon proxy UI to choose the protocol (http/https).