I recently need to host a Flask web application, and decided to share my experience with this comprehensive guide on how to properly host a Flask web application with Nginx http server and Gunicorn WSGI server. Continue reading "How to properly host Flask application with Nginx and Guincorn"
Category: Nginx
Secure Nginx and WordPress with Fail2ban
A few days after this self-hosted Nginx server and WordPress up and running, I started to see massive login attempts trying to gain access on SSH and WordPress login. After evaluating various solutions and plugins, I settled on using Fail2ban to block such attacks, and here are the steps on how I did it. Continue reading "Secure Nginx and WordPress with Fail2ban"
Hosting WordPress on Raspberry Pi Part 6 – Implement SSL
WordPress announced on 1 December 2016 that it will only promote hosting partners that provide a SSL certificate by default in their accounts. In this article I described how to implement SSL on WordPress website. Continue reading "Hosting WordPress on Raspberry Pi Part 6 – Implement SSL"
Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache
We had WordPress installed on the Raspberry Pi, we are going to look into how to implement various cache solutions to optimise WordPress without depending on plugins. Continue reading "Hosting WordPress on Raspberry Pi Part 4 – Optimise WordPress through cache"
Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB
Before installing WordPress, we will need to setup a web server for our Raspberry Pi. We will use Nginx as the web server itself, MariaDB as a database management system, and PHP for dynamic script processing. We choose Nginx, PHP-FPM and MariaDB for its performance and lightweight that are both important factors for Raspberry Pi. Continue reading "Hosting WordPress on Raspberry Pi Part 2 – Install Nginx, PHP and MariaDB"
Hosting WordPress on Raspberry Pi – A complete approach
What you see is a WordPress web server running on a Raspberry Pi 3, and this is a series of articles on how I host WordPress on Raspberry Pi 3 and optimise it to achieve impressive performance and a capable WordPress web server.
Continue reading "Hosting WordPress on Raspberry Pi – A complete approach"