If you control the ssl-proxy, you can fix the settings:
Do you have any option to modify for the ssl-redirect?