Nginx config file to redirect http to https and keep the hostname: