Steps to hide your server's ip address when you're using cloudflare

Follow the steps; the main concept is to block any other IPs if you’re using CF.

remember to delete nginx rules of ufw first.

block ping request on ubuntu 22.04:

sudo sysctl -w net.ipv4.icmp_echo_ignore_all=1