| by Arround The Web

How to Block Access to wp-admin and wp-login in Nginx/Apache

Despite the reputation of the WordPress content management system exceeding all expectations in terms of flawless content publishing and seamless user-access control, there are still some worrying security breaches that need prioritized handling. Two important access points on a WordPress website should be protected at all costs. The first one is the wp-login.php page responsible for accommodating […]

The post How to Block Access to wp-admin and wp-login in Nginx/Apache appeared first on Linux Today.

Share Button
Read More
| by Arround The Web

Reverse Proxy with Nginx: A Step-by-Step Setup Guide

One of the more popular reverse proxy tools at the moment is Nginx. Although Nginx itself is a web server, it does an outstanding job of serving as a reverse proxy.
This step-by-step tutorial is going to show you how you can easily set up a reverse pro…

Share Button
Read More
| by Arround The Web

How to Install ModSecurity with Nginx on Ubuntu 20.04

In the following tutorial, you will learn how to install ModSecurity with Nginx on Ubuntu 20.04. ModSecurity, often referred to as Modsec, is a free, open-source web application firewall (WAF). ModSecurity was created as a module for the Apache HTTP Server. However, since its early days, the WAF has grown and now covers an array of HyperText Transfer Protocol request and response […]

The post How to Install ModSecurity with Nginx on Ubuntu 20.04 appeared first on Linux Today.

Share Button
Read More
| by Arround The Web

How to Install Craft CMS with Nginx on Ubuntu 20.04

Craft CMS is a free, open-source content management system for websites. This guide shows how to install Craft CMS on Ubuntu 20.04 LTS (Focal Fossa).
The post How to Install Craft CMS with Nginx on Ubuntu 20.04 appeared first on Linux Today.

Share Button
Read More
| by Arround The Web

How to Install Shlink URL Shortener with Nginx on Ubuntu 20.04

In the following guide, you will learn how to install Shlink on Ubuntu 20.04 with a complete Nginx example configuration. Shlink is a free, open-source, self-hosted URL shortener written in PHP that provides both a REST and a CLI interface to interact …

Share Button
Read More
| by Arround The Web

How to Hide Nginx Version on Linux and Unix

By default, the Nginx version is displayed when you query HTTP headers or errors generated by the Nginx server. This quick guide explains how to hide or remove the Nginx version on Linux or Unix servers without restarting the system.
The post How to Hi…

Share Button
Read More
| by Arround The Web

How to Install LEMP Stack on Rocky Linux 8

The post How to Install LEMP Stack on Rocky Linux 8 first appeared on Tecmint: Linux Howtos, Tutorials & Guides .LEMP is a popular stack that comprises open-source software that is collectively used to host and serve web applications, whether in produc…

Share Button
Read More
| by Arround The Web

How to Install MediaWiki with Nginx and Encrypting SSL on Ubuntu 20.04

MediaWiki is an open-source wiki software written in PHP. It allows you to create your own self-hosted wiki website on the server. In this post, we will show you how to install MediaWiki with Nginx and how to encrypt SSL on Ubuntu 20.04.
The post How t…

Share Button
Read More
| by Arround The Web

How to Speed Up Nginx with Varnish Cache on CentOS 7

The post How to Speed Up Nginx with Varnish Cache on CentOS 7 first appeared on Tecmint: Linux Howtos, Tutorials & Guides .
Varnish Cache (also referred to as Varnish) is an open-source, high-performance HTTP accelerator designed for speeding up web se…

Share Button
Read More
| by Arround The Web

Install WordPress with LEMP Stack on Ubuntu 20.04

The post Install WordPress with LEMP Stack on Ubuntu 20.04 appeared first on LinOxide.

Share Button
Read More
| by Arround The Web

How To Prevent PHP-FPM From Consuming Too Much RAM in Linux

The post How To Prevent PHP-FPM From Consuming Too Much RAM in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .If you have deployed a LEMP (Linux, NGINX, MySQL/MariaDB, and PHP) stack, then you are probably using FastCGI proxying wit…

Share Button
Read More
| by Arround The Web

How to Setup Nginx with Let’s Encrypt using ACME on Ubuntu 20.04

The post How to Setup Nginx with Let’s Encrypt using ACME on Ubuntu 20.04 appeared first on LinOxide.

Share Button
Read More
| by Arround The Web

How to Setup Nginx with Let’s Encrypt on Ubuntu 20.04

The post How to Setup Nginx with Let’s Encrypt on Ubuntu 20.04 appeared first on LinOxide.

Share Button
Read More
| by Arround The Web

How to Install NGINX on Ubuntu 20.04 and Host Website

NGINX is an open-source web server software. You can deploy NGINX as a standalone web server, or as a proxy in front of other web servers (in essence, reverse proxy). Nginx is one of the best web servers to host […]
The post How to Install NGINX on U…

Share Button
Read More
| by Scott Kilroy

Block php files from being uploaded (using nginx)

If you find people trying to upload php into your wordpress site you can add this to your nginx config file location ~* /(?:uploads)/.*.php$ { deny all; access_log off; log_not_found off; }

Share Button
Read More
| by Scott Kilroy

Stop image hotlinking on NGINX

If you think it’s possible that someone is linking to images hosted on your site add the following to you nginx config file # Stop deep linking or hot linking location /images/ { valid_referers none blocked www.linuxconsultant.org linuxconsultant.org; if ($invalid_referer) { return 403; } } Or if you want to be a wiseguy and replace the hotlinked image with something else # Stop deep linking or hot linking location /images/ { valid_referers none blocked www.linuxconsultant.org linuxconsultant.org; if ($invalid_referer) { return […]

Share Button
Read More
| by Scott Kilroy

Nginx with certbot

Remember when setting up certbot using nginx to turn off the line in your config that blocks files that start with . This line: location ~ /\. { access_log off; log_not_found off; deny all; } A good guide can be found here https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

Share Button
Read More