listen 80; server_name image.demo.com; #charset koi8-r; #access_log logs/host.access.log main; location /file { alias C:/file; index index.html index.htm; autoindex on; }