docs: add headers set by proxy outpost

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-11 14:08:05 +02:00
parent 1e10f37370
commit 80bcd09cec
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
title: Proxy Outpost
---
The proxy outpost sets the following headers:
```
X-Auth-Username: akadmin # The username of the currently logged in user
X-Forwarded-Email: root@localhost # The email address of the currently logged in user
X-Forwarded-Preferred-Username: akadmin # The username of the currently logged in user
X-Forwarded-User: 900347b8a29876b45ca6f75722635ecfedf0e931c6022e3a29a8aa13fb5516fb # The hashed identifier of the currently logged in user.
```
Additionally, you can set `additionalHeaders` on groups or users to set additional headers.
If you enable *Set HTTP-Basic Authentication* option, the HTTP Authorization header is being set.

View file

@ -34,6 +34,7 @@ module.exports = {
label: "Outposts", label: "Outposts",
items: [ items: [
"outposts/outposts", "outposts/outposts",
"outposts/proxy",
"outposts/upgrading", "outposts/upgrading",
"outposts/manual-deploy-docker-compose", "outposts/manual-deploy-docker-compose",
"outposts/manual-deploy-kubernetes", "outposts/manual-deploy-kubernetes",