Accept all server_name's except empty
nginx-forum at nginx.us
Fri Sep 23 07:24:26 UTC 2011
How can I set up my nginx configuration file so that it will accept all
request; however it will deny if "host" header is not added?
Also currently I am logging bytes_send per "host" and then take sum of
them with a cron job monthly. Is there a better way to achieve this?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215685,215685#msg-215685
More information about the nginx