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 ReadingSecure 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 ReadingUse 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 ReadingMultiple 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 ReadingForward 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 ReadingTags
AOP Apache Kafka Bootstrap Go Java Linux MongoDB Nginx Security Spring Spring Boot Spring Security SSL ThymeleafSearch
Archive
- 1 December 2023
- 1 November 2023
- 1 May 2019
- 2 April 2019
- 1 May 2018
- 1 April 2018
- 1 March 2018
- 2 February 2018
- 1 January 2018
- 5 December 2017
- 7 November 2017
- 2 October 2017