Hot answers tagged lighttpd
Nginx is actually vulnerable to slowloris attack. Scarce resource is the maximum number of simultaneous worker connections. This number can be calculated as worker_connections * worker_processes and equals to 512 in default nginx configuration. So, it is quite easy to take down unprotected nginx with tools such as goloris.
You don't generally do rewrites in nginx, the same way you do them in Apache or lighttpd. Most such things should be replaced with try_files instead. A trivial example: try_files $uri $uri/ /gi.php See the nginx documentation for more details.
url.rewrite-once triggers before url.redirect, and $HTTP["host"] =~ “domain\.com" matches www.domain.com too. So it first rewrites (for example) http://www.domain.com/ internally to http://www.domain.com/domain.fcgi/ and then redirects the client to http://domain.com/domain.fcgi/. The client sends a new request which gets then rewritten to ...
Only top voted, non community-wiki answers of a minimum length are eligible