Archive by category Nginx

Nginx SSL configuration

Nginx SSL configuration

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

How to install latest Nginx on Ubuntu

How to install latest Nginx on Ubuntu

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