Skip to content

Instantly share code, notes, and snippets.

View br4instormer's full-sized avatar

br4instormer br4instormer

View GitHub Profile
@br4instormer
br4instormer / nginx-client-certificate-authentication.md
Created June 9, 2025 13:44 — forked from ronau/nginx-client-certificate-authentication.md
A simple nginx configuration for a demo of client certificate authentication

Client certificate authentication with nginx

Below is a simple nginx configuration file enabling client certificate authentication, i.e. the user/client has to present a certificate in order to get access.

It is the result of a small proof of concept solution for the following task:

  • A certain web server directory should be used as file storage
  • Transport security (i.e. TLS)