Tag

#NGINX

Block Countries in NGINX Using GeoIP

September 23, 2025

NGINX has a GeoIP module that can be leveraged to do various things based on GeoIP data for a remote host connecting to the NGINX server. If not…

Compile dynamic nginx modules

May 4, 2017

My notes for compiling modules in nginx.  As of nginx 1.9.11, you can dynamically load modules using load_module in nginx.conf.  To compile the module, if not available in…

From Linux Install to WordPress

April 25, 2017

A typical installation of Debian 8.x (Jessie) precedes this where I only select base system and ssh server options during operating system installation. After installation, this is a…

Create a Redirect to your Google+ Profile

April 30, 2012

April 2, 2009: RIP Google+. 🙁 It is pretty simple to setup your domain to redirect to your Google+ profile.  For example, I have https://techish.net/+ which redirects to…

LEMP + Cacti 0.8.7i

January 16, 2012

This is my setup of LEMP with Cacti 0.8.7i. LEMP stands for Linux nginx (prounounced Engine x) MySQL and PHP.  Most notably, LEMP is just replacing Apache (LAMP)…

nginx 502 bad gateway

January 12, 2012

Update May 22, 2012: I have since moved away from TCP backend to Unix sockets. This has resolved my sporadic 502's and gave better performance. In /etc/rc.local I…

nginx error – 413 Request Entity Too Large

January 11, 2012

I was getting an error when trying to upload and attach images larger than 2MB via WordPress. I discovered that nginx has a configuration setting called client_max_body_size that…

Gallery3 + Nginx

January 11, 2012

I have Gallery3 working with Nginx. Here's my setup and some configuration for http://gallery.techish.net/   I no longer am using Gallery3 or nginx.  (7/21/2012) Nginx 1.0.11 PHP 5.3.3-7 PHP5…