How to Create a Rate Limit System in PHP for Limiting Requests by IP: A Step-by-Step Guide

How to Create a Rate Limit System in PHP for Limiting Requests by IP: A Step-by-Step Guide

Tiempo de lectura: 2 minutosLearn how to protect your PHP server from abuse, bots or brute-force attacks by limiting the number of requests per second from each IP address. The Rate Limiting (or rate limiting) is a technique that allows to restrict the number of requests that a user (or IP) can make to a server within a time … Read more

Configuring Nginx Proxy Manager (npm) or Nginx to send the Real Client IP using Cloudflare Proxy

Configuring Nginx Proxy Manager (npm) or Nginx to send the Real Client IP using Cloudflare Proxy

Tiempo de lectura: < 1 minutoWe will learn today how we can capture the real IP of the client passing through Cloudflare’s proxy and receiving it in Nginx Proxy Manager (NPM) or Nginx. We will open our reverse proxy and go to Proxy Hosts. Now we select the proxy that we want to send real IPs and put it in … Read more

Folder Permissions for WordPress Installation

Folder Permissions for WordPress Installation

Tiempo de lectura: 2 minutosToday we are going to indicate the necessary permissions in a WordPress installation with Apache. To ensure the security and proper functioning of your WordPress site within a Docker container, it is important to set the correct permissions on the web directory (www). Here is a general recommendation on how you could set the permissions: … Read more

Recovering a MySQL or MariaDB database without a backup by accessing the mysql folder or directory

Recovering a MySQL or MariaDB database without a backup by accessing the mysql folder or directory

Tiempo de lectura: 2 minutosToday we are going to learn how we can recover a database for which we don’t have a .sql backup copy, but we do have access to its MySQL folder or directory. This can happen when the operating system doesn’t boot up, but we still have access to the hard drive. The first thing we … Read more

Preventing CloudFlare from caching a website.

Preventing CloudFlare from caching a website.

Tiempo de lectura: 2 minutosToday we’re going to learn how to prevent CloudFlare from caching a website’s information. Step 1: Log in to your Cloudflare account Log in to your Cloudflare account on the official website. Step 2: Select the website Select the website for which you want to configure page rules in the Cloudflare dashboard. Step 3: Navigate … Read more

Creating a redirection with Nginx Proxy Manager

Creating a redirection with Nginx Proxy Manager

Tiempo de lectura: 2 minutosToday we’re going to learn how to create a redirection using Nginx Proxy Manager. The first thing we’ll do is open the Nginx Proxy Manager interface and select Hosts > Redirection Hosts. We fill in the data: We will put the name of the original domain we want to redirect from, to the domain we … Read more