Is there any reason you don't just scrap the reverse proxy idea and just have SSL enabled on your main site?
I'm not sure why you are using a reverse proxy to the same server, generally you use it to sit the reverse proxy in front of a different server entirely to handle authentication or offload SSL or process static content to help reduce load/increase security of the 2nd webserver.