I have an application on angular4. It is deployed on EC2 instances which are behind load balancer. Load balancer allows only https calls and rejects http calls. I have nginx