File nginx.conf artifact 61d44fe15d part of check-in 9a8a46bcf0
# sample nginx config to serve the local site server { listen *:80; listen [fec0::1]:80; server_name site.to.hijack; access_log /var/log/nginx/site_name.access.log; error_log /var/log/nginx/site_name.error.log debug; # if no file found locally we are breaking connection # helps with clients that treat 404 as general error error_page 404 = @break; location / { root /path/to/www/site_name/; autoindex on; } location @break { return 444; } }