How to use Docker to Deploy Jupyter with Nginx

Become a Datascience Pro – Host your own Jupyter Notebooks

“To say goodbye is to die a little.” ― Raymond Chandler, The Long Goodbye

1. Introduction

Docker is pretty cool when it comes to deployment of software. It isolates the deployed software from the host system. It does this by running a lighter version of an OS inside a container and deploying the software on top of this OS.

Continue reading “How to use Docker to Deploy Jupyter with Nginx”

Run Python Web Application in Docker using Nginx and uWsgi

Learn how to configure these components to host a python web application

“Pressure is something you feel when you don’t know what the hell you’re doing.” ― Peyton Manning

1. Introduction

Developing a web application is a major task by itself. It has many pieces that need to fit together – front-end HTML, styling in CSS and browser scripting in Javascript. In addition, the back-end also needs to be developed in a suitable server-side framework.

Continue reading “Run Python Web Application in Docker using Nginx and uWsgi”

Nginx Inside Docker – Website Root Configuration

Check out ways of setting up website root outside the docker container.

“What the mind can conceive and believe, and the heart desire, you can achieve.” ― Norman Vincent Peale

1. Introduction

In this article here, we have described how to use Nginx with SSL enabled inside a docker container. Not discussed in that article is the aspect of the website root. Once the web server is installed inside the docker container, it has looks for the web site root within the container OS file system. This is controlled by this Nginx clause in the file /etc/nginx/sites-available/default.

Continue reading “Nginx Inside Docker – Website Root Configuration”

Nginx Inside Docker with Ubuntu 16.04 HOWTO

Run Nginx inside a Docker Container with Ubuntu 16.04

“Live boldly. Push yourself. Don’t settle.” ― Jojo Moyes, Me Before You

1. Introduction

Docker is a very cool technology for running whole operating systems inside a process. You run a command on the host system and a whole new virtual system springs into existence, ready to operate as you have configured it. This capability offers unprecedented power and flexibility to build and throw away infrastructure as you wish. You could use this capability in test environments, running applications with differing system requirements in the same host, and a lot more.

Continue reading “Nginx Inside Docker with Ubuntu 16.04 HOWTO”

Improve the Security of your Nginx SSL Web Server

Learn how to harden the SSL Configuration of Nginx.

 

“Three things can not hide for long: the Moon, the Sun and the Truth.” ― Gautama Buddha

1. Introduction

In previous articles, we discussed how to create a CSR to obtain an SSL certificate, as well as how to configure Nginx web server with that certificate. Let us now discuss improving the configuration of Nginx for better security.

Continue reading “Improve the Security of your Nginx SSL Web Server”

Setting up Nginx Web Server with an SSL Certificate

Learn how to properly configure your Nginx web server for HTTPS.

“How did it get so late so soon?” ― Dr. Seuss

 

1. Introduction

Nginx is a fast-growing web server which is known for its small size and speed. According to the Netcraft February 2018 Web Server Survey, nginx held a 25.92% of the total web server market share. If you need to host a web server, you would do very well with using Nginx.

Continue reading “Setting up Nginx Web Server with an SSL Certificate”