fixed some problems with enabling ssl. the proxy_redirect command is incorrect