diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 09:09:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 09:09:08 +0300 |
commit | ab0dd39a49e43f6beed9bdb6414a0f04bcf671b4 (patch) | |
tree | 76fed8c52db143aaab475e59dc3b1610fe653152 /doc/administration/auth/smartcard.md | |
parent | 2399724614f3c4dcf3059038d997193830de93ee (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/auth/smartcard.md')
-rw-r--r-- | doc/administration/auth/smartcard.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/administration/auth/smartcard.md b/doc/administration/auth/smartcard.md index 84ddd4278ab..9f3e9e3de59 100644 --- a/doc/administration/auth/smartcard.md +++ b/doc/administration/auth/smartcard.md @@ -131,14 +131,14 @@ attribute. As a prerequisite, you must use an LDAP server that: - The additional NGINX server context must be configured to run on a different port: - ``` + ```plaintext listen *:3444 ssl; ``` - The additional NGINX server context must be configured to require the client side certificate: - ``` + ```plaintext ssl_verify_depth 2; ssl_client_certificate /etc/ssl/certs/CA.pem; ssl_verify_client on; @@ -147,14 +147,14 @@ attribute. As a prerequisite, you must use an LDAP server that: - The additional NGINX server context must be configured to forward the client side certificate: - ``` + ```plaintext proxy_set_header X-SSL-Client-Certificate $ssl_client_escaped_cert; ``` For example, the following is an example server context in an NGINX configuration file (eg. in `/etc/nginx/sites-available/gitlab-ssl`): - ``` + ```plaintext server { listen *:3444 ssl; |