website/docs: Minor LDAP and NGINX Documentation Updates (#1406)

* update LDAP documentation

* include domain level nginx forward auth example

* wrap in banner

* update placeholder
This commit is contained in:
Jeremy Willans
2021-09-17 17:47:27 +10:00
committed by GitHub
parent 3e4ce62dfe
commit fcbcfbc3c0
3 changed files with 9 additions and 1 deletions

View File

@ -34,6 +34,7 @@ For domain level, you'd use the same domain as authentik.
:::info
*example-outpost* is used as a placeholder for the outpost name.
*authentik.company* is used as a placeholder for the authentik install.
:::
## Nginx
@ -72,6 +73,9 @@ server {
# authentik-specific config
auth_request /akprox/auth;
error_page 401 = @akprox_signin;
# For domain level, use the below error_page to redirect to your Authentik server with the full redirect path
# error_page 401 =302 https://authentik.company/akprox/start?rd=$scheme://$http_host$request_uri;
# translate headers from the outposts back to the actual upstream
auth_request_set $username $upstream_http_x_auth_username;
auth_request_set $email $upstream_http_X_Forwarded_Email;