Hello ipilipenko,
Thanks for reply and Happy your new year too.
I did it and static files are serving directly via Nginx but i want to cache HTML files that are the output of PHP files just like Varnish.
I used code above but caching is not working yet.
Do you know where should i exactly...