nginx redirect http to https (for vestacp) redirect http to https return 301 https://$server_name$request_uri;