Home / Posts tagged Nginx
The following Nginx SSL configuration gives me PCI compliance as well as protection against BEAST attacks. This configuration also ensures that forward secrecy is applied in the SSL layer. More information on forward secrecy here. So this is what my typical few lines of SSL configuration would look like in Nginx vhost: server { listen […]
Read More
I have just spent quite a bit of time migrating old permalinks on client’s blog from “Day and Name” permalink structure to “Post name” permalink structure. The website is powered by Nginx webserver and I was looking for a simple WordPress Nginx Permalinks Rewrite that will do this for me. After digging through the Nginx […]
Read More
Scaling WordPress is something I’ve been studying for a long time. By nature, WordPress isn’t designed to run on multiple servers unless you do some re-architecting on the server-side. Finally I’ve found a way to scale WordPress elastically and on demand. ?What I’m about to share has worked for me personally and I don’t guarantee […]
Read More
Ubuntu doesn’t always keep up with the latest stable releases of Nginx. To install latest Nginx on Ubuntu I normally follow these steps: Step 1 Add latest stable release distro to Ubuntu sources file in /etc/apt/sources.list. Replace ‘precise’ with your Ubuntu version: echo 'deb http://nginx.org/packages/ubuntu/ precise nginx' >> /etc/apt/sources.list Step 2 Add public key from […]
Read More
Every time I want to generate Nginx htpasswd I forget how to do it. This is just for my reference so I don’t have to search for a solution on the Internet. Apache comes with htpasswd utility, but I strictly run Nginx these days and don’t really need Apache or any Apache related utilities on […]
Read More
I’ve been working with Nginx web server for a while now. I have to say it’s an impressive web server that performs really well on high traffic websites. I’m in the process of migrating all my sites from Apache to Nginx. I am about 80% there after migrating WordPress and Joomla sites to Nginx without […]
Read More