linux:nginx
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| linux:nginx [2016/03/22 22:24] – [Howtos] move | linux:nginx [2019/02/27 14:26] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 10: | Zeile 10: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ==== Block Bots ==== | ||
| + | < | ||
| + | # Bad bots filter code | ||
| + | # provided by http:// | ||
| + | |||
| + | if ($http_user_agent ~* " | ||
| + | return 403; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Monitoring ===== | ||
| + | ==== How do I calculate connections per seconds? ==== | ||
| + | {{: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <WRAP center round box 100%> | ||
| + | - 27 = Number of all open connections | ||
| + | - 221901 = Accepted connections | ||
| + | - 221901 = Handled connections | ||
| + | - 442577 = Handles requests | ||
| + | </ | ||
| + | |||
| + | <WRAP center round box 100%> | ||
| + | * Requests per connection = handles requests / handled connections | ||
| + | * Requests per connection = 442577/ | ||
| + | * Requests per connection = 1.99 | ||
| + | </ | ||
| ===== Weblinks ===== | ===== Weblinks ===== | ||
| * http:// | * http:// | ||
| + | * http:// | ||
| ==== Howtos ==== | ==== Howtos ==== | ||
| + | * // | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
linux/nginx.1458685446.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
