background preloader

Nginx

Facebook Twitter

Resources on nginx. A simple hosting engine.

Nginx Guide: Introduction. Concurrency and faster loading times have always been a challenge for any high traffic website. In order to load sites faster, browsers open multiple connections to a web server to load content in parallel. Combined with persistent connections, the web server needs to be really robust and be able to scale non-linearly with the number of requests. It becomes very important that the website is based on a number of loosely coupled but highly cohesive building blocks, and nginx really is an important piece to be able to achieve that. Nginx (pronounced engine x) is a lightweight, free, open-source HTTP and reverse proxy server, as well as a mail proxy server. Nginx can be used as a full replacement for other HTTP servers like Apache, or can also stand in front of the existing infrastructure you have, to work as a reverse-proxy.

Making use of a reverse proxy is very important as it helps in: Source: Wikipedia How does nginx differ from Apache? Source: The Architecture of Open Source Applications. Desktop Ubuntu in Amazon EC2 - The Right Way. Thursday, 2nd December 2010 - 22 Comments Recently I have had to run a Java app on a server which required a GUI front-end to operate. The majority of my experience with servers in "the cloud" has been via command line SSH connection. For this I tend to use the latest LTS release of Ubuntu Server. Ubuntu Server by design is lean and mean, not possessing any native GUI capabilities and hence I needed to find an alternative.

It was suggested to me that I give XVNC a go, but that obviously requires an installation of the X system. After reading many tutorials, it seemed that people had became bogged down in X configuration files with screen resolution and persistent monitor issues. I will be using Amazon EC2 for this demonstration. Connecting to the desktop instance will require a means of sending over the X-Windows screen. AMI Installation The first task is to launch the instance using the Community AMI with code ami-9f8573f6. Server Configuration chmod 400 keypair.pem sudo adduser myuser. SSL Certificates with Nginx. Updated by Alex Fornuto Transport Layer Security (TLS) and Secure Socket Layer (SSL) provide an easy method to encrypt connections between end-users and web servers. SSL uses a certificate authority system to provide identity verification in order to prevent websites from falsely claiming to be another organization or website. This guide outlines how to provide encrypted access to resources using SSL certificates and nginx.

This document assumes that you have completed the getting started guide. If you’re new to Linux systems administration, we recommend that you read through the Linux users and groups guide and the administration basics guide. Install Nginx With SSL Support Before proceeding, ensure that you’ve compiled nginx with support for SSL. If you compiled nginx from source code obtained from the upstream, ensure that the --with-http_ssl_module argument is added to the . Create and Manage SSL Certificates Before configuring nginx to use SSL, you must generate SSL certificates. NGINX and NGINX Plus Admin Guide | NGINX.

Configuration. How To Create an SSL Certificate on Nginx for Ubuntu 14.04.