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 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”

Using SSL to Secure Tomcat with HTTPS

Learn how to configure the Tomcat web server with SSL.

“Help someone, you earn a friend. Help someone too much, you make an enemy.” ― Erol Ozan

1. Introduction

After covering SSL-enabling the Apache web server and the Nginx web server using an SSL certificate, let us now find out how to secure Apache Tomcat with HTTPS. Tomcat is an open-source java web server intended as a reference implementation of Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. For the sake of this article, we shall install version 8.5.28 of the Tomcat web server. This version is the latest in the 8.0 series of the server. Installation of the next version, 9.0, should be similar.

Continue reading “Using SSL to Secure Tomcat with HTTPS”

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”

Setting up Apache Web Server with an SSL Certificate

Configure Apache to enable SSL with an SSL Certificate

“You cannot swim for new horizons until you have courage to lose sight of the shore.” ― William Faulkner

1. Introduction

The Apache Web Server is the most popular web server software. According to the January 2018 Web Server Survey, about 38.2% of domains were running the Apache Web Server. As for active sites, Apache held about 44% share followed by NGINX at 21%.

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

How to use Selenium for Driving the Chrome Browser

Learn how to automate tasks on the web using Selenium

“Indifference and neglect often do much more damage than outright dislike.” ― J.K. Rowling, Harry Potter and the Order of the Phoenix

1. Introduction

Selenium is a handy tool for controlling a web browser (such as Google Chrome) through a program. It allows you to automate tasks on a website by using the browser much the same way a human user would. Such automation can be useful for a variety of tasks including: regression testing of web applications, data extraction and more. In this article, we will learn how to use Selenium to drive the Chrome Browser.

Continue reading “How to use Selenium for Driving the Chrome Browser”

Introductory Spring Boot Rest Service

A very basic Spring MVC Web Application. Illustrates the outline of a Spring project.

“The only true wisdom is in knowing you know nothing.”
― Socrates

1. Introduction

Getting started with Spring and Spring Boot? Welcome!

This is a beginner level tutorial for implementing a Hello World REST Service using Spring Boot. The emphasis is on getting the basic application outline worked out. One to which we can add various enterprise features in further articles.

The example presented is simple REST controller which returns a message to the user.

Continue reading “Introductory Spring Boot Rest Service”