Although the entire site has CDN enabled, Nginx still leaks the origin IP after enabling SSL, how to solve it?

Although the entire site has enabled CDN, NGINX still leaked the origin server IP after enabling SSL. How to solve this?

Firewall the server ip so it doesn’t matter?