Latest Posts

Spring Boot basic secured start project for web development

In this post, I will walk you through the process of creating a minimal Spring Boot web application. I use a starter project like this quite often for checking out new features or creating a proof of concept (POC). The web application will have two separate areas, a publicly accessible site and a user/password secured admin site. This example shows how to create a custom form based login screen using bootstrap 3.

Continue Reading

Secure SSH access with certificate based authentication and firewall rules

When I set up a new Linux server, I usually take couple of steps to secure the way I connect to the box using SSH. In this post I will walk you through the process to secure SSH access using firewall rules, changing the SSH port and enabling certificate based authentication. In this example I used a CentOS 7 box.

Continue Reading

Use Linux screen command to start multiple sessions on a remote terminal

In this post I will provide you a quick overview of the screen command. Screen can be used to open multiple interactive shell sessions within one remote ssh or local terminal session. This comes quite handy when you have to execute long running tasks on a remote Linux server, need multipe shell session or in an unstable network environment.

Continue Reading

Multiple domains and SSL certificates on one Nginx server

Recently I had to find a solution to host multiple web applications on a Virtual Private Server (VPS). Both applications are accessed by different domain names, each of them using separate SSL certificates. In this post I explain how to configure Nginx to fulfill these requirements.

Continue Reading

Forward remote IP address from Nginx to a Spring Boot application

This post explains how to forward the remote IP address of a client to a Spring Boot application when routing traffic through Nginx (reverse proxy).

Continue Reading