October 4, 2022

How To Install and Configure Laravel with Nginx on Ubuntu 20.04 (LEMP)

Laravel is an open-source PHP framework that provides a set of tools and resources to build modern PHP applications. With a complete ecosystem leveraging its built-in features, Laravel’s popularity has grown rapidly in the past few years, with many developers adopting it as their framework of choice for a streamlined development process. In this guide, you’ll install and configure a new Laravel application on an Ubuntu 20.04 server, using Composer to download and manage the framework dependencies and Nginx to serve the application. When you’re finished, you’ll have a functional Laravel demo application pulling content from a MySQL 8 database.

How To Install and Configure Laravel with Nginx on Ubuntu 20.04 (LEMP) Read More

How To Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu 20.04

The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications written in PHP. This is an acronym that describes a Linux operating system, with an Nginx (pronounced like “Engine-X”) web server. The backend data is stored in the MySQL database and the dynamic processing is handled by PHP. This guide demonstrates how to install a LEMP stack on an Ubuntu 20.04 server. The Ubuntu operating system takes care of the first requirement. We will describe how to get the rest of the components up and running.

How To Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu 20.04 Read More

Understanding Nginx Server and Location Block Selection Algorithms

Nginx is one of the most popular web servers in the world. It can successfully handle high loads with many concurrent client connections, and can function as a web server, a mail server, or a reverse proxy server. In this guide, we will discuss some of the behind-the-scenes details that determine how Nginx processes client requests. Understanding these ideas can help take the guesswork out of designing server and location blocks and can make the request handling seem less unpredictable.

Understanding Nginx Server and Location Block Selection Algorithms Read More

How To Install Nginx on Ubuntu 20.04

Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is a lightweight choice that can be used as either a web server or reverse proxy. In this guide, we’ll discuss how to install Nginx on your Ubuntu 20.04 server, adjust the firewall, manage the Nginx process, and set up server blocks for hosting more than one domain from a single server.

How To Install Nginx on Ubuntu 20.04 Read More

How To Secure Nginx with Let’s Encrypt on Ubuntu 20.04

Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. Currently, the entire process of obtaining and installing a certificate is fully automated on both Apache and Nginx. In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Ubuntu 20.04 and set up your certificate to renew automatically. This tutorial will use a separate Nginx server configuration file instead of the default file. We recommend creating new Nginx server block files for each domain because it helps to avoid common mistakes and maintains the default files as a fallback configuration.

How To Secure Nginx with Let’s Encrypt on Ubuntu 20.04 Read More

An Introduction to Let’s Encrypt

Let’s Encrypt is an open and automated certificate authority that uses the ACME (Automatic Certificate Management Environment ) protocol to provide free TLS/SSL certificates to any compatible client. These certificates can be used to encrypt communication between your web server and your users. There are dozens of clients available, written in various programming languages, and many integrations with popular administrative tools, services, and servers. The most popular ACME client, Certbot, is now developed by the Electronic Frontier Foundation. In addition to verifying domain ownership and fetching certificates, Certbot can automatically configure TLS/SSL on both Apache and Nginx web servers. This tutorial will briefly discuss certificate authorities and how Let’s Encrypt works, then review a few popular ACME clients.

An Introduction to Let’s Encrypt Read More

How To Secure Tomcat 10 with Apache or Nginx on Ubuntu 20.04

Apache Tomcat serves traffic unencrypted by default, including passwords or other sensitive data. To secure your Tomcat installation, you will integrate Let’s Encrypt TLS certificates to all HTTP connections. To incorporate TLS, you can set up a reverse proxy with configured certificates, which will securely negotiate with clients and hand requests to Tomcat. While TLS connections can be configured in Tomcat itself, it’s not recommended because Tomcat does not have the latest TLS standard and security updates available. In this tutorial, you will configure this connection with either Apache or Nginx. They are both widespread and well-tested, whereas software that automates Let’s Encrypt certificate provision, such as certbot, does not provide support for Tomcat. If you want to try both Apache and Nginx, you will need separate servers for each.

How To Secure Tomcat 10 with Apache or Nginx on Ubuntu 20.04 Read More

WP CloudStack – a WordPress CloudFormation template for infrastructure on AWS cloud

WP CloudStack is a CloudFormation template that spins up a fully configured WordPress infrastructure in minutes. WP CloudStack integrates WordPress with AWS services like Aurora, S3, CloudFront, and CloudWatch, so you can take full advantage of the cloud, regardless of your comfort level with Linux or AWS. It also uses FastCGI Cache and other optimizations to help you get the most out of your server.

WP CloudStack – a WordPress CloudFormation template for infrastructure on AWS cloud Read More