Tag Archives: Nginx

Working With Nginx

via Working With Nginx – Tuts+ Code Tutorial.

The first two articles in the series have given an overview and also talked about theessential modules for Nginx. This tutorial will help you get started using Nginx by guiding you through some basic techniques on managing configuration files and setting up basic parameters in the configs.

Enabling Kibana Authentication with Nginx

Kibana doesn’t support authentication or restricting access to dashboards by default.We can restrict access to Kibana 4 using nginx as a proxy in front of Kibana. This procedure will work and tested on RPM based flavours[eg :- Redhat,CentOS].In this setup Kibana is running on default port 5601 and nginx server is running on port 8080. […]


Configuring Nginx and SSL with NodeJS

via Configuring Nginx and SSL with Node.js.

Nginx is a high performance HTTP server as well as a reverse proxy. Unlike traditional servers, Nginx follows an event driven asynchronous architecture. As a result the memory footprint is low and performance is high. If you are running a Node.js based web app you should seriously consider using Nginx as a reverse proxy. Nginx can be very efficient in serving static assets. For all other requests it will talk to your Node.js backend and send the response to the client. In this tutorial we will discuss how to configure Nginx to work with Node.js. We will also see how to setup SSL in the Nginx server.

A sample Docker workflow with Nginx, NodeJS and Redis

via A sample Docker workflow with Nginx, Node.js and Redis · Anand Mani Sankar.

In my previous post I wrote about Containers and Docker, how they are influencing PaaS, microservices and the cloud in general. If you are new to Docker or the concept of containers, I would highly recommend reading my previous post first. In this post, as a continuation, I will elaborate on some of the concepts with a Docker based sample workflow. You can find all the code I’m discussing below on my Github.

For this example, I have a very simple Node.js applications that increments a counter stored on Redis. I want to run Redis and the node application independently as I want to have the ability to scale the node application depending on the load. To start off, I have 3 instances of the node server running the application. I have an Nginx server in front of node for load balancing the node instances.

Let’s now talk in terms of containers, specifically Docker containers. Simple; 1 container for each service/process!

  • 1 Redis container
  • 3 Node containers
  • 1 Nginx container

How To Setup a NodeJS Development Environment on a VPS for a Team

via How To Setup a Node.js Development Environment on a VPS for a Team | DigitalOcean.

In this tutorial, we will setup a Node.js development environment, which allows you to include rapidly new team members into the development process of your Node.js applications. This method can also be applied if a developer wants to create several versions of an application simultaneously.

This method is based on Node.js interacting with Nginx over Unix sockets instead of ports. Let’s assume that you have your development versions of the application at login.dev.nodeapp.com. In addition, we will hold the sockets for every developer in the /tmp directory, like/tmp/login.dev.nodeapp.com.sock.

Using NGINX with NodeJS and WebSockets with Socket.IO

via Using NGINX with Node.js and WebSockets with Socket.IO.

In this post we’ll talk about using NGINX with Node.js and socket.IO. Our post about building real-time web applications with WebSockets and NGINX has been quite popular, so in this post we’ll continue with documentation and best practices using socket.IO.

Nginx, php-fpm and node.js install on Centos 5.5

Nginx, php-fpm and node.js install on Centos 5.5

Follow My Mag:flip.it/i50ZC