Nginx lists files and folders (or displays file directories)

I built a resource site for my own use a long time ago. I access domain names or addresses and directly list files and folders for easy viewing and downloading. The web environment I use is generally nginx, mainly Junge lnmp one-click package. I changed one of them yesterday, so I recorded it by the way so that I don’t have to search it on Baidu every time and it’s easier for me to read it. I hope it will be helpful to friends who have similar needs.
First, I put a picture of the effect I want. I feel that everyone’s expression is different, and the picture is the most realistic.

ITLDC 50% off all sites/KVM starting from 1.75 euros for the first month/Los Angeles/Netherlands/Singapore, etc.

ITLDC Yesterday, a promotional offer was sent to celebrate the International System Administrator Appreciation Day. In the next week, it will provide 50% off on all VPS and E3 series CPU independent server products. With the discount code, VPS starts as low as 1.75 euros for the first month after the discount, and independent servers start as low as 44.5 euros after the discount.