Spring boot AWS nginx redirecting to http instead of https I have the following configuration for nginx in AWS source bundle.