Package:nginx Version:0.4.13-2
in order to package web applications for nginx, the packager needs a way to add entries to the nginx.conf file. A method for doing that is including a "include /etc/nginx/conf.d/*.conf" line in nginx.conf. This allows web application packagers to put a config file snippet into /etc/nginx/conf.d/. The include line must be before the first "server" entry in nginx.conf to allow a web application to override the default nginx home page. Included is a patch to accomplish this
--- etc/nginx/nginx.old 2006-11-25 00:07:16.000000000 +1100 +++ etc/nginx/nginx.new 2008-04-20 20:40:13.000000000 +1000 @@ -23,9 +23,11 @@ gzip on; + include /etc/nginx/conf.d/*.conf; + server { listen 80; - server_name localhost; + server_name _ *; access_log /var/log/nginx/localhost.access.log;