configs: nginx-demo config support both SSL cert + http auth
This commit is contained in:
parent
525b3d6b56
commit
bf426d2ed2
2 changed files with 22 additions and 3 deletions
|
|
@ -17,6 +17,10 @@ server {
|
|||
ssl_certificate /etc/nginx/ssl/fullchain.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
||||
|
||||
ssl_client_certificate /srv/PKI/shared/ca.pem;
|
||||
ssl_trusted_certificate /srv/PKI/shared/ca.pem;
|
||||
ssl_verify_client optional;
|
||||
|
||||
root /srv/htdocs-frontend/;
|
||||
|
||||
error_page 401 /welcome.html;
|
||||
|
|
|
|||
Reference in a new issue