How Linux pagoda open the specified directory browsing

Hello, good evening everybody operation and maintenance,

Today whim, want to give my personal blog plus a feature, is how to turn on directory browsing a Web site folder, this is very interesting.

To think of how I can use later, I decided to record, so that can also give you a reference.

Well, ado, I began to show it!

The first step, let's go to our website management background, preferably with website management system, Linux pagoda (peace of mind, strong)

The second step, open our website set up to open directory browsing, the site in the background -> Select Site -> Settings -> pseudo-static

Figure:

 

 The third step is to fill our open Code

Figure

 

 This is the Internet looking for

Come posted

location   /download {
	autoindex on;
	autoindex_exact_size off;
	charset utf-8,gbk;
	autoindex_localtime on;
    }

  

Renderings

 

 

 

 How, great bar!

Guess you like

Origin www.cnblogs.com/xfstu/p/11914881.html