user http;
worker_processes 4;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
include /etc/nginx/conf.d/*.conf;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 30;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
gzip on;
server {
listen *:80 default_server;
server_name _;
location / {
#return 403;
root /usr/share/nginx/html;
index index.html index.htm;
}
}
}