Nginx

Debugging Nginx Errors

Dealing with errors in nginx can be a frustrating experience if nginx isn’t configured correctly. Sadly, the default value for error log is less than optimal, and some of the…

My New Nginx Book: Instant Nginx Starter

During the last few months, I have been working on an nginx book for Packt Publishing. The book is called Instant Nginx Starter and is now published! My goal with…

WebSockets in Nginx

Version 1.3.13 of nginx is due any day now and with it comes support for Connection: upgrade and Upgrade header, meaning proxying of WebSockets! Read on to find out how to configure nginx to support WebSockets.

Securing Nginx + PHP When Using Path Info

Remember register globals? Remember how you had to code as if it was off, because it might be? Remember how you had to consider the security implications of it being…