Static Web Hosting With Nginx And Docker

If you need to host some static content online, then you can do this incredibly easily with the pre-prepared official NGINX docker image. Steps Install docker on your server if you haven't already. Navigate to just above the folder that contains your site. For this tutorial, I will refer to…

Read this article

Ubuntu 16.04 - Install NGINX with PHP

This tutorial will quickly get you started with deploying an NGINX webserver and configuring it to work with using PHP 7.0. If you want to install MySQL, MariaDB, or PostgreSQL as well, that's easy enough to do separately after/before completing this tutorial. Steps Install NGINX and php-fpm sudo…

Read this article

NGINX CLI Cheatsheet

This cheatsheet is just for the commands you can run for Nginx and is nothing to do with the configuration files. Test The Configuration If you make a change to your configuration and want to check that everything is okay before having the changes take effect, then use this command.…

Read this article

Ubuntu - Reverse Proxy Dockerized Websites

Problem You have converted your websites to use docker, but want to run them all on a single VPS to save money or get better performance by using a single large instance rather than lots of small ones. Using a single instance restricts you to having just one public IP,…

Read this article