I have nginx which I am receiving http request then I will redirect them to https,
server { listen 80; server_name example.com; ad