Create Virtual Hosts, Password Protect Directories and SSL Certificates Using Nginx in Arch Linux

The previous Arch Linux LEMP article just covered basic stuff, from installing network services (Nginx, MySQL database and PhpMyAdmin) and configuring minimal security required for MySQL server and PhpMyadmin.

This topic’s strictly related to the former installation of LEMP on Arch Linux and will guide you through setting more complex configurations for LEMP stack, especially Nginx webserver configurations, like creating Virtual Hosts, using Password Protected Directories, creating and configuring HTTP Secure Sockets Layer, HTTP insecure redirects to HTTPS, and will also present you some useful Bash scripts that will ease the job on activating Virtual Hosts and generate SSL Certificate and Keys.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis