Latest Posts
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 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 Nginx Security Spring Spring Boot Spring Security SSL ThymeleafSearch
Archive
- 1 April 2018
- 1 March 2018
- 2 February 2018
- 1 January 2018
- 5 December 2017
- 7 November 2017
- 2 October 2017