user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; } http { default_type video/mp4; server { listen 80; location / { #auth_basic "Secured Area"; #auth_basic_user_file /etc/apache2/.htpasswd; root /data/completed; autoindex on; } } }