Tag: nginx
17 posts
-
nginx rate limiting with a combination of IP and user agent
Here's a quick and dirty way to use IP-based rate limiting (very common) but override it for specific user agents (or basically, this is just a method of chaining geo {} and map…
-
nginx goes "Prime time"
Today, Igor announced that he is establishing a company behind nginx, citing that he and some others are going to be focusing more seriously on development, support, etc. This is…
-
nginx hits 1.0(.0)
nginx, my webserver du joir, announced its 1.0.0 launch today. Along with the announcement, Igor has also posted a public SVN repository to grab the code from (which seems to…
-
Setting PHP INI parameters from nginx
A little known feature in PHP-FPM 5.3.3+ (since it was integrated into PHP core) is that you can actually define PHP INI parameters inside of your nginx configuration. This…
-
Front Controller Patterns and nginx
It's no secret I'm a fan of nginx. Probably no secret that I'm a fan of front controller pattern design as well. Why? I find it to be the most universal and easy to support. I…
-
The magic that is... nginx
I've told this story countless times, but I've never publicly documented it. This happened over a year ago, but I feel obligated to share it. nginx is the main reason for the…
-
nginx and Go Daddy SSL certificates
Generate the CSR: Enter in whatever you want - you NEED the "Common Name" everything else is not really required for it to work. Paste the CSR into Go Daddy, get back the .crt…
-
PHP-FPM and nginx upstart scripts
Upstart is becoming the de-facto standard for everything in Ubuntu, and I do enjoy it's process management and re-spawning capabilities. (Actually, before PHP-FPM I used to use…
-
SPNEGO For nginx - a start, at least
I've been posting on the nginx mailing lists for a while that I've had a developer working on SPNEGO (Kerberos/GSSAPI/etc.) module for authentication for nginx. I never produced…
-
Transifex + Django + nginx on Ubuntu
You can probably also use this for just Django + nginx on Ubuntu too, it should work the same for any Django-based package, just change the Transifex-specific stuff (like…
-
Don't forget the $args!
August 2010 UPDATE: Read here for new information! I just realized when trying to use the tryfiles shortcut that either the behavior has changed or the code I've used it for has…
-
Finally using nginx's "try_files" directive
OLD: or: NEW: Why make life more complicated if you don't need to? Also thanks to Igor's patch you can have multiple of these, i.e.: etc. This is good, as Drupal, WordPress and…
-
nginx hits #4 on Netcraft
Self-explanatory. nginx surpasses Lighttpd and moves up to #4 according to Netcraft. Woohoo! http://survey.netcraft.com/Reports/200812/
-
Who ever said open source software was perfect?
Typically, updates on the open source packages work without a hitch. However, my upgrade last weekend on my servers from Ubuntu Hardy to Intrepid wound up creating a couple major…
-
nginx + WordPress - redux
Note: this has been outdated once again. Now it can be simplified with one simple directive shown here. There's been a minor tweak required in my original WordPress+nginx rewrite…
-
WordPress+nginx rewrite rules - stop the insanity!
Note: this has been outdated now. I have an updated post with the latest and Igor-approved method here. When I was switching over to nginx, I found a handful of random and…
-
Open source projects currently taking my interest
For a long time I've been using Lighttpd as an alternative to Apache, Ubuntu, MySQL and PHP. It looks like I might be mixing it up soon, swapping out some and adding a couple…