Lines of
nginx.conf
from check-in 08ae38b6ce
that are changed by the sequence of edits moving toward
check-in 95fc83d16a:
1: # sample nginx config to serve the local site
2:
3: server {
4: listen *:80;
5: listen [fec0::1]:80;
6: server_name site.to.hijack;
7: access_log /var/log/nginx/site_name.access.log;
8: error_log /var/log/nginx/site_name.error.log debug;
9: # if no file found locally we are breaking connection
10: # helps with clients that treat 404 as general error
11: error_page 404 = @break;
12:
13: location / {
08ae38b6ce 2010-06-25 14: root /path/to/www/site_name/;
08ae38b6ce 2010-06-25 15: autoindex on;
16: }
17:
18: location @break {
08ae38b6ce 2010-06-25 19: return 444;
20: }
21: }