Latest Posts

Forward referrer to Spring Boot Application when using Nginx as Reverse Proxy

In this post, I will describe how to forward the HTTP referrer to a Spring Boot web application behind a Reverse Proxy (Nginx). The example application will log the referrer and other important information like remote IP address, preferred language and client browser type and version to the file system.

Continue Reading

Use Nginx to host multiple SSL secured websites with one external IP address

In this post, I will describe how to host multiple SSL secured domains on a Linux server with only one external IP address. For a task like this, I usually prefer Nginx as a Reverse Proxy that is used to forward incoming requests to the corresponding backend applications.

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