angristan / angristan/nginx-autoinstall

ModSecurity blocks requests

Offen
#170 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
646
Forks
231
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When enabling mod_security there is strange problem with connection. After enabling it, few minutes latter all connections timing out.

It is easy to reproduce:

1. Install nginx with modsec enabled;
2. Load modsec:

```
modsecurity on;
modsecurity_rules_file /etc/nginx/modsec/main.conf;
```
3. Visit your website, few pages. Eventually you will encounter infinite loading and timeout.

Maybe related, error.log contains:

```
2021/02/13 10:17:53 [alert] 31891#31891: *330 open socket #37 left in connection 8
2021/02/13 10:17:53 [alert] 31891#31891: *329 open socket #35 left in connection 9
2021/02/13 10:17:53 [alert] 31891#31891: aborting
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.