Artifact 61d44fe15d42b296642c11b851832b4ec142fdf947f3b62022ec288f209d536a:
- File nginx.conf — part of check-in [08ae38b6ce] at 2010-06-25 10:53:49 on branch master — working version, already tested and works on FreeRealms game (user: c.kworr@b84a3442-36b4-a7b2-c7ad-07429f13c525, size: 463) [annotate] [blame] [check-ins using]
# 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; } }