How to Block Bad Bots on Your VPS with Nginx Rate Limiting

block bad bots with nginx

Bad bots eat bandwidth, hammer your login pages, and scrape your content around the clock. On a small VPS, a single aggressive crawler can push CPU and memory high enough that real visitors get slow pages or errors. The fix does not need a paid firewall or a plugin. You can block bad bots with … Baca Selengkapnya

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM

install php 8.4 on ubuntu

How to Install PHP 8.4 on Ubuntu with Nginx and PHP-FPM PHP 8.4 brings property hooks, asymmetric visibility, and a few performance gains over 8.3, but Ubuntu 24.04 ships with PHP 8.3 in its default repos. To install PHP 8.4 on Ubuntu you need a third-party PPA, then wire it into Nginx through PHP-FPM. Below … Baca Selengkapnya

How Nginx Handles 10000 Simultaneous Connections (and When It Can’t)

nginx handles 10000 simultaneous connections

How Nginx Handles 10000 Simultaneous Connections (and When It Can’t) Ten thousand open connections sounds like a number only large sites need to worry about, but a small VPS can reach it faster than most owners expect. A busy WordPress site, a chat widget that holds connections open, and a few slow mobile visitors can … Baca Selengkapnya

Nginx Error Pages: How to Show a Custom 404 and 502 Page

nginx custom error pages

Nginx Error Pages: How to Show a Custom 404 and 502 Page When a visitor hits a missing page or your backend goes down, Nginx shows a plain white page with a short error line by default. That default page tells the visitor nothing useful and makes a small site look abandoned. Setting up nginx … Baca Selengkapnya