Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:nginx

Dies ist eine alte Version des Dokuments!


nginx

nginx ist ein Webserver.

Konfiguration

Directory Listing

[...]
    location /somedir {
           autoindex on;
    }

Block Bots

# Bad bots filter code
# provided by http://badbots.vps.tips

if ($http_user_agent ~* "SentiBot" ) {
    return 403;
}

Monitoring

How do I calculate connections per seconds?

27 = Number of all open connections

221901 = Accepted connections

221901 = Handled connections

442577 = Handles requests

Requests per connection = handles requests / handled connections

Requests per connection = 442577/221901 (pass this to bc -l using echo '442577/221901' | bc -l command)

Requests per connection = 1.99

Howtos

linux/nginx.1458819623.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki