worker_connections 1024;
}

http {
log_format main \\\’$remote_addr – $remote_user [$time_local] "$request" \\\’
\\\’$status $body_bytes_sent "$http_referer" \\\’
\\\’"$http_user_agent" "$http_x_forwarded_for"\\\’;

    access_log  logs/access.log  main;

    sendfile            on;
    tcp_nopush          on;
    #文件服務(wù)器
    server {
    listen 80;
    server_name localhost;
    charset utf-8,gbk;
    root E:/tool;
    location / {
        autoindex on;
        autoindex_exact_size on;
        autoindex_localtime on;     
    }
    }

}

訪問(wèn):http://127.0.0.1

更多關(guān)于云服務(wù)器域名注冊(cè),虛擬主機(jī)的問(wèn)題,請(qǐng)?jiān)L問(wèn)三五互聯(lián)官網(wǎng):www.shinetop.cn

贊(0)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享網(wǎng)絡(luò)內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。郵箱:3140448839@qq.com。本站原創(chuàng)內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明出處:三五互聯(lián)知識(shí)庫(kù) » nginx1.15.0-window 文件服務(wù)器

登錄

找回密碼

注冊(cè)