Help needed for Haproxy Response body rewrite

The would like to get some help rewriting the http to https in the header also switch the port number to 443. Please see the screenshot and help. Appreciate your help.