worker_processes 1; pid /var/tmp/nginx/nginx.pid; error_log stderr error; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; server_tokens off; access_log off; fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; map $request_uri $request_path { default $request_uri; ~/$ ${request_uri}index.html; } include /etc/nginx/conf.d/vhosts.conf; }