I decided to upgrade the Passenger application server today on servers with Ubuntu 18.04. I ran the following in our staging environment first and after testing the app, all was well. The standard upgrade process using APT (and other package managers) for Passenger on Ubuntu and other distros is here. For some reason (due to… Continue reading Upgrading Passenger on Ubuntu
Tag: linux
setup a redirect for ads.txt in nginx
ads.txt is the file that is used by ad providers to determine what ads should be served on what sites. It is a form of verification and helps to prevent fraud. If you run your own ad waterfall, or use a third party ad provider you may have to frequently update your ads.txt file in… Continue reading setup a redirect for ads.txt in nginx
blocking bad bots in nginx from xmlrpc.php
After upgrading from PHP 7.2 to 7.4.x, I was taking a look at my graphs in new relic for my wordpress blog and found a high number of E_WARNINGs for //xmlrpc.php. It’s a result of bots hitting a non-existent URL at //xmlrpc.php – note the extra slash in there. The default nginx behavior is to… Continue reading blocking bad bots in nginx from xmlrpc.php