Skip to content

winne27/nginx-cert-and-basic-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

#Nginx client cert auth with fallback basic auth

This is an example of an nginx configuration with:

  • forward http to https
  • protect access to a subdirectory
  • authenticate by client certificate
  • fallback to basic auth (user and password) when certificate is not available

For creating client cert see mini tutorial from mtigas

About

nginx example for client cert auth with fallback to basic auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published