Add random and slideshow directory
This commit is contained in:
23
slideshow/nginx/nginx.conf
Normal file
23
slideshow/nginx/nginx.conf
Normal file
@ -0,0 +1,23 @@
|
||||
worker_processes 1;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
#root html;
|
||||
root "D:\\www";
|
||||
index index.html index.htm;
|
||||
autoindex on;
|
||||
autoindex_format json;
|
||||
}
|
||||
}
|
||||
}
|
||||
# nginx -t
|
||||
# nginx -s reload
|
Reference in New Issue
Block a user