To configure Nginx to throttle login attempts, you can use the `limit_req` module. Follow these steps: 1. Open your Nginx configuration file, usually located at `/etc/nginx/nginx.conf` or `/etc/nginx/sites-available/default`. 2. Add a new `limit_req_zone` directive in the `http` block to define a rate limit: “` http { limit_req_zone $binary_remote_addr zone=login_limit:10m rate=1r/s; … } “` Here, we…
Category: Linux
IRC Auto Downloader with Autodl-IRSSI and rTorrrent
This script works for both Ubuntu and Debian that you have fully installed and updated. First you must download the script and execute. After the setup is run you will need to execute the main script with the following option: After the script is run, you will want to document the details on the screen…
Using a Terraform on a Raspberry Pi to control Amazon Web Services (AWS)
First and foremost we must create our credentialed account to authenticate to AWS. Let’s start: Navigate to IAM Management Console > Users Click Add user Enter your User name Select Programmatic access Click Next: Permissions Select Attach existing policies directly For the sake of this test, use AdministratorAccess Click Next: Tags Click Next: Review Click Create user…
Using a Terraform on a Raspberry Pi to control Google Cloud Platform (GCP)
Simple task using lightweight hardware. Let’s create a google micro instance using Terraform on a Raspberry Pi 2 I have lying around. It doesn’t take much computing power to execute Terraform you just need somewhere to do it. This just makes it that much more fun! If you need to set up Terraform for use,…
Terraform using RPi3 to RPi3 with some extras
HashiCorp’s Terraform is an easy to use solution for terraforming your Raspberry Pi infrastructure. It’s repeatable and simple to use. On your primary terraform node you need to execute the following: Setup Terraform for use Create the Terraform config file: Execute separate lines (update current system): Update hostname: Install LEMP components:
Reverse proxy for Emby
Besides updating the IPs and, domain names this should plug and play right into a new nginx config file.
Configuring the RaspberryPi 3b as a LDS
First and foremost you need to update the current system and firmware after flashing the SD card and install the needed software Update the locale of the system Disable unnecessary hardware Setup Log2RAM to preserve the SD card R/W life Let’s start by updating the Deluge setup Edit the /etc/systemd/system/deluged.service and add the following Enable…