Tag: Web Server

Feb 13

What is: NginX

What is: NginX Lately I have been writing a lot about NginX so I thought I would write a small post to describe NginX and what it is.Although I like to write it NginX because its origins are in the Linux world they write it all in lower case nginx (I know, boring right). The …

Continue reading »

Feb 12

How to: Install NginX

How to: Install NginX If you want to Install NginX, we currently host a PPA that tries to keep up with the latest updates from NginX. Sometimes we make changes to the build when something breaks or doesn’t work but most of the time we use the same package that is provided by the NginX …

Continue reading »

Jan 17

How to: Reload your NginX Configuration

How to: Reload your NginX Configuration Sometimes when working with NginX you come across the need to reload your configuration for the changes made to your .conf files take place. Although this is a simple task some considerations and best practices should be followed for optimal results: Verify that your configuration files “compile”. Execute nginx …

Continue reading »

Jan 17

Resolve: Nginx – 413 Request Entity Too Large

Resolve: Nginx – 413 Request Entity Too Large When working with WordPress you might come across a message that indicates HTTP Error when uploading any media to your site. Obviously there are tons of things that could cause this error, like the memory you have allocated to PHP, or even some NginX configuration might cause …

Continue reading »

Dec 24

How to: Configure NAXSI with NginX

How to: Configure NAXSI with NginX As part of a series of articles regarding NginX, today I will cover how to configure NAXSI with NginX. Currently there is a distribution of NginX that comes with NAXSI (you can read about some of the standard distributions here: http://kx.cloudingenium.com/technologies/web/nginx/custom-nginx-distribution-available-packages/) which you can find with the ngxinx dev …

Continue reading »

Dec 21

How to: Measure your NginX Cache Performance using $upstream_cache_status in a custom Cache log

How to: Measure your NginX Cache Performance using $upstream_cache_status in a custom Cache log One of the great features of NginX is it’s ability to cache content from a number of sources including but not limited to a proxy server or a fast cgi server. But in order to understand truly how well your cache …

Continue reading »

Dec 21

How to: Redirect an URL in NGINX

How to: Redirect an URL in NGINX One might need to redirect to another URL in a number of scenarios. I will cover two examples for scenarios I have come across and how I addresses those issues: I. Redirect from a naked domain to the www subdomain: server { listen 80; server_name test.com; return 301 …

Continue reading »

Dec 21

Changes with NginX 1.5.8

Changes with NginX 1.5.8 Below are the list of changes from the 1.5.7 release of NginX to version 1.5.8. This is provided as reference only and was obtained from: http://nginx.org/en/CHANGES   Changes with nginx 1.5.8 17 Dec 2013 *) Feature: IPv6 support in resolver. *) Feature: the “listen” directive supports the “fastopen” parameter. Thanks to Mathew Rodley. *) …

Continue reading »

Dec 20

How to: Pass NginX the correct client IP address when using Varnish reverse proxy

How to: Pass NginX the correct client IP address when using Varnish reverse proxy Varnish is a great piece of software that you can use to serve static http content without having to hit your web servers. Many of the issues that come with using a reverse proxy like Varnish is that there is another …

Continue reading »

Dec 14

Custom NginX Distribution

Custom NginX Distribution I created a custom NginX distribution to address the need of NginX with the purge cache plugin in newer Ubuntu versions. The source can be obtained from Github: https://github.com/JCBauza/NginX/ and the PPA for your system at: https://launchpad.net/~cloudingenium/+archive/nginx-mainline. Stable vs Mainline There are two PPAs available: One for the Stable releases and one for the Mainline releases. In a post to …

Continue reading »

Load more