nginx

Detect mobile on Nginx and proxy cache

I am proxy caching a dynamic website for performance reasons. The website itself is fully responsive and works perfectly on mobile phones and desktops. But if a phone is detected then a different ad script is loaded to show mobile ad banners. This creates a small problem because the proxy…

Nginx $cookie variable and dashes

I was configuring a Nginx proxy server for a big dynamic website. To lower the load I decided to cache all public accessible HTML and bypass the proxy when a user was logged in to the forums or the website itself. Thats pretty easy, all you have to do is:…

Nginx Load Balancing Basics

This is a re-post of a jsDelivr's post that I wrote. Nginx is a powerful high performance web server with a lot of features that can help high load projects to overcome their problems. Here you can see a particular feature of Nginx that allows you to load balance the…

Page 1 of 1