feat: support for cert based authentication

This commit is contained in:
2023-05-28 17:25:25 +02:00
parent 7567dbaa4b
commit 09c37b2a65
5 changed files with 35 additions and 1 deletions

10
templates/nginx_maps.j2 Normal file
View File

@@ -0,0 +1,10 @@
map $ssl_client_s_dn $allow_group_main {
default "";
~CN=Sheppy2 true;
~CN=Kathi true;
}
map $ssl_client_s_dn $allow_group_ths {
default "";
~OU=THS true;
}