Adan  Auer

Adan Auer


How To Set Up Nginx Server Blocks on Ubuntu 20.04

A server block is an Nginx directive that defines settings for a specific domain, allowing you to run more than one website on a single server. For each website, you can set the site document root (the directory which contains the website files), create a separate security policy, use different SSL certificates, and much more.

This article describes how to set up Nginx server blocks on Ubuntu 20.04.


Ensure that you have met the following requirements before continuing:

In some articles, the term “Server Blocks” is referred to as a “Virtual host”. A virtual host is an Apache term.

Creating the Directory Structure

The document root is the directory where the website files for a domain name are stored and served in response to requests. You can set the document root to any location you want.

#ubuntu #nginx

What is GEEK

Buddha Community

How To Set Up Nginx Server Blocks on Ubuntu 20.04
Shawn  Pieterse

Shawn Pieterse


Install ProjectSend on Ubuntu 20.04 with Nginx (LEMP Stack)

Step 1: Download ProjectSend on Ubuntu 20.04
Log into your Ubuntu 20.04 server. Then download the ProjectSend zip archive onto your server. The latest stable version is r1295 at time of this writing. You may need to change the version number. 
Step 2: Create a Database and User for ProjectSend in MariaDB Database Server
Log into MariaDB database server with the following command.
Step 3: Configure ProjectSend
Step 4: Create a Nginx Config File for ProjectSend
Step 5: Install and Enable PHP Modules
Step 6: Enable HTTPS
Now you can access the ProjectSend web install wizard in your web browser by entering the domain name for your ProjectSend installation.
Step 7: Finish the Installation in your Web Browser

#ubuntu #ubuntu server #projectsend #ubuntu 20.04 #nginx

Shawn  Pieterse

Shawn Pieterse


Upgrade Ubuntu 20.04/20.10 to 21.04 in 2 Ways (GUI & Terminal)

Ubuntu 21.04, codenamed Hirsute Hippo, is released on April 22, 2021. This tutorial is going to you 2 ways to upgrade Ubuntu 20.04/Ubuntu 20.10 to 21.04. The first method uses the graphical update manager and the second method uses command line. Usually, you use the graphical update manager to upgrade Ubuntu desktop and use the command line to upgrade Ubuntu server, but the command-line method works for desktops too.

Ubuntu 20.04 is a long-term support (LTS) release, which will be supported for 5 years. Ubuntu 21.04 is a non-LTS release, which means it will be supported for 9 months only, until January 2022. If you prefer stability over bleeding edge, then stick with Ubuntu 20.04. But if you are the other way around, you can follow this tutorial to upgrade from Ubuntu 20.04 to 21.04.

#ubuntu #ubuntu desktop #ubuntu server #upgrade #ubuntu 20.04

Shawn  Pieterse

Shawn Pieterse


Installing Shlink URL Shortener on an Ubuntu Server 20.04

  • Step 1: Download Shlink onto Your Ubuntu 20.04 Server
  • Step 2: Create a MariaDB Database and User for Shlink
  • Step 3: Install PHP8.0 and Some Extensions
  • Step 4: Run the Shlink Install Script
  • Step 5: Create Apache Virtual Host or Nginx Config File for Shlink
  • Step 6: Enabling HTTPS
  • Step 7: Creating Short Links

#ubuntu #ubuntu server #shlink url shortener #ubuntu 20.04 server

Jolie  Reichert

Jolie Reichert


How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 20.04

Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web server is required.

In this guide, we will demonstrate how to install and configure some components on Ubuntu 20.04 to support and serve Django applications. We will be setting up a PostgreSQL database instead of using the default SQLite database. We will configure the Gunicorn application server to interface with our applications. We will then set up Nginx to reverse proxy to Gunicorn, giving us access to its security and performance features to serve our apps.

#ubuntu 20.04 #ubuntu #postgres #nginx #gunicorn

Lenora  Hauck

Lenora Hauck


How to Install Nginx, MySQL & PHP (LEMP) on Ubuntu 20.04

A combination of Linux, Nginx, MySQL, and PHP is known as LEMP stack is the popular web hosting environment for the PHP based application. Here Linux is an operating system, Nginx is the popular web server, MySQL is relational database management system used for storing data and PHP is the widely used programming language.

This article will help you to install Nginx, MySQL 8.0 and PHP 7.4 on Ubuntu Linux system. Let’s begin with the installation of LEMP stack your Ubuntu machine.


Before beginning the LEMP installation on Ubuntu:

  • A running Ubuntu 20.04 system
  • Login as sudo proviledged account on your system. To create it follow initial server setup tutorial.
  • A domain/subdomain name pointed to your server

#ubuntu #lemp #lemp on ubuntu 20.04 #nginx #setup lemp on ubuntu