# system integration user www-data; pid /run/nginx.pid; # is expected even if empty events { } http { # define content-type headers types { text/html html htm shtml; text/css css; text/xml xml; text/plain txt; text/plain sh; application/xhtml+xml xhtml; } default_type application/octet_stream; charset utf-8; # logging access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; # file server server { location / { autoindex on; root /data/www; } } # htwtxt server { listen 8080; #server_name htwtxt.plomlompom.com; location / { proxy_pass http://127.0.0.1:8000; } } }