Browsing Tag

nginx

phpMyAdmin: Connection reset by peer

For a while I installed phpmyadmin package on a fresh Debian 8 server system with nginx and php5-fpm (PHP 5.6). After a few clicks I got a 502 - actually on logging into phpMyAdmin: 30320#30320: *1 recv() failed (104: Connection reset…

Apache & nginx 404 Fail2Ban Regex

Hacker try to occupy websites by producing 404 errors - they try to execute scripts or to stress your server. In order to prevent these tries, you can create Fail2ban regex for nginx or Apache2. I will explain the right regex for both…