# Prevent MIME-type sniffing<br>
add_header X-Content-Type-Options nosniff always;
# Enforce HTTPS for 1 year + subdomains<br>
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
# Protect against clickjacking attacks<br>
add_header X-Frame-Options SAMEORIGIN always;
References:
Step 1: Download the Latest Version
wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.9p2.tar.gz
Step 2: Remove the Existing Installation
# Define the rate limit zone
limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
server {
# Exclude CSS, JS, and image files from rate limiting
location ~* \.(css|js|jpg|jpeg|png|gif|webp|svg|ico)$ {
# No rate limiting applied for these file types
# You can put other configurations here if necessary
sudo yum install yum-utils -y
sudo yum-config-manager --disable remi-php74
sudo yum-config-manager --enable remi-php82
sudo yum install php php-cli php-fpm php-json php-common php-mysqlnd php-xml php-gd php-mbstring php-intl php-opcache -y
#! /bin/sh
# set -x
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 360s