add proxy_set_header     X-Forwarded-Proto https;