Nginx error logs show "recv() failed (104: Connection reset by peer) while reading response header from upstream,". When I'm checking my WordPress site logs I saw that several times appeared that error log. This is an issue with the Nginx and PHP-FPM configurations. Can easily fix it in just a few … [Read more...]
Fix Ubuntu Failed to Fetch & Temporary Failure Resolving DNS Errors.
When you are trying to update your Ubuntu Server or Ubuntu Desktop sometime you may experience that "Temporary failure resolving 'archive.ubuntu.com'" and "Temporary failure resolving 'ppa.launchpad.net'" and "Some index files failed to download. They have been ignored, or old ones used instead" … [Read more...]
Fix Nginx Logrotate Not Writing To New File | Use Old log1 File
After you have built a new nginx server, you might experience that its Nginx not writing log files to new files even if the logrotate working at schedule time. In my situation, the nginx server writes log files to ".log1" file, even if there's a new ".log" file newly created. This issue can … [Read more...]
Install Nginx, PageSpeed Mod, Naxsi WAF and Brotil Ubuntu
In this tutorial I'm going to show how to easily install and or update your existing Nginx server with Mod PageSpeed, Naxi WAF, Brotil compression on Ubuntu 18.04 server. First of all, let's identify what are these additional modules. PageSpeed Module for Nginx - This is a web server module which … [Read more...]