How can I clear nginx cache?

Hello, how can I clear nginx cache?
I replaced index2.html with index.php sending expiration HTTP headers, clear browser cache but still see old version of page.
Cloudflare is disabled.

Nginx caches content only very briefly, and AFAIK it doesn’t cache HTML content. Are you sure it isn’t browser cache you’re looking at?