How to Install Nginx Proxy Manager on Arch Linux

Nginx Proxy Manager is an open-source web application that helps you manage and serve websites using Nginx. This tutorial will cover the installation steps of Nginx Proxy Manager on Arch Linux.

Prerequisites

Before we start with the installation process, make sure your system is up to date.

sudo pacman -Syu

Install Dependencies

Before installing Nginx Proxy Manager, we need to install some dependencies.

sudo pacman -S nodejs npm sqlite

Download Nginx Proxy Manager

We need to download Nginx Proxy Manager from the official website.

wget https://github.com/jc21/nginx-proxy-manager/releases/download/v2.9.12/nginx-proxy-manager-2.9.12.tar.gz

Extract the archive

We need to extract the downloaded archive.

tar -zxvf nginx-proxy-manager-2.9.12.tar.gz

Install Nginx Proxy Manager

We need to navigate to the extracted directory and install Nginx Proxy Manager.

cd nginx-proxy-manager
npm install --production

Configure Nginx Proxy Manager

We need to create a configuration file for Nginx Proxy Manager.

cp config.production.json.sample config.production.json

We need to update the configuration file by running the following command.

nano config.production.json

Update the following fields:

{
  "database": {
    "engine": "sqlite",
    "name": "nginx_proxy_manager.db"
  },
  "server": {
    "port": 80,
    "host": "0.0.0.0"
  }
}

Start Nginx Proxy Manager

Run the following command to start Nginx Proxy Manager.

npm start

Configure Firewall

We need to allow the port on which Nginx Proxy Manager is running.

sudo ufw allow 80/tcp

Conclusion

Nginx Proxy Manager is now installed and ready to use on your Arch Linux system. Open your web browser and enter the IP address or host name of your system with port 80. You should see the Nginx Proxy Manager's login page.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!