OK then there must be an upstream system that is proxying to your server.
That system is:
Proxying external HTTP access to your HTTP service
Proxying external HTTPS access to your HTTP service
So that in both cases you will always reply with "go to HTTPS".
And then it just loops because even HTTPS request will receive the "go to HTTPS" reply.
You site is not secure.
The TLS termination is being done before you get the connection requests.
To PROVE this.
Change it back to however you think it works.
then after that
Change the listen 443 to any unused number like listen 9999;
And see if your site is still accessible from the internet securely.
If so, then someone else is providing HTTPS (not you).
Yes this all problem was because i was installing and renewing SSL in the instance server which i was given but SSL was also installed in proxy so it doesn't renew
Now they renew in proxy and i removed SSL code from this server