-
Let’s Encrypt + Nginx: Three Months Into Beta
Nginx Plugin During Early Beta When Let’s Encrypt started their closed beta, their documentation warned that their Nginx plugin was experimental. Using it as the authenticator to obtain certificates seemed to work, but using it as the installer would almost certainly guarantee that your Nginx configuration would become a jumbled mess. But that automated installation […]
-
Configuring Nginx for CiviCRM
For almost a year now I’ve been hosting CiviCRM instances for a couple clients. This has resulted in quite a bit of troubleshooting and experimentation with file permissions and Nginx configuration. Unfortunately, most of the documentation I’ve been able to find out there seems to assume you’ll be using Apache and the source is full…
-
Install CiviCRM on WordPress with Nginx
Over the weekend I installed a copy of CiviCRM on WordPress to demo for a small nonprofit that recently asked me to help with some of their data needs. CiviCRM is a constituent relationship management (CRM) system designed for nonprofit organizations. While I installed it as a WordPress plugin, it’s also available for Joomla and Drupal.…
-
Password protect WordPress admin directory on Nginx
Extra protection against brute force attacks While WordPress has an authentication system of its own, some opt to add additional server-side password protection to /wp-admin/ using basic authentication. This prompts users for a username and a password before even allowing access to the admin files and WordPress authentication. Password protecting wp-login.php is generally sufficient WordPress…
-
LEMP stack installation scripts for Ubuntu 14.04
This weekend I overhauled my quick-lemp scripts for automating part of the server setup and LEMP stack installation process. The basic functionality is the same: standard new server setup is performed and a fully functioning LEMP stack is installed along with a sample Flask applications. What has changed is the way the scripts are divided and how…
-
Nginx and uWSGI configuration for Flask app deployment
For someone new to application or server deployment (or any field, really), the vast assortment of commands, arguments, variables, and parameters can be overwhelming. That’s why I encourage friends and coworkers to break those daunting projects into smaller, more digestible pieces. Once they understand what is right in front of them and can relate it…
-
A LAMP stack with Nginx is a LEMP stack
LEMP stack not LNMP stack For years I’ve referred to a stack consisting of Linux, Nginx, MySQL/MariaDB, and PHP/Python/Perl as a LEMP stack. While using LEMP might seem odd at first, it actually makes a lot of sense given that Nginx is pronounced “engine x.” While I knew from my own searching that the term wasn’t heavily used, I didn’t…
-
LEMP stack deployment script for Ubuntu 12.04
I use Cloud Servers from Rackspace for most of my application hosting. Through their control panel I can quickly create, rebuild, and delete virtual private servers quickly and easily whenever I want. The only frustrating part has been having to spend time doing the same initial configuration and LEMP stack installation tasks on each new…
-
LEMP stack set up with Nginx, uWSGI, and MariaDB on Ubuntu 12.04
Over the past six months I’ve been deploying my Python projects using uWSGI and NGINX almost elusively. While they each have an overwhelming number configuration options available, deploying basic apps with them can be pretty painless. Here’s one simple option for setting up your LEMP stack on Ubuntu 12.04 and deploying a Flask application. Getting…