website/docs: fix $auth_cookie not being defined in outpost docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
8d2a3b67b9
commit
176360fdd7
|
@ -43,8 +43,10 @@ import TabItem from '@theme/TabItem';
|
||||||
```
|
```
|
||||||
location /akprox {
|
location /akprox {
|
||||||
proxy_pass http://*ip of your outpost*:4180;
|
proxy_pass http://*ip of your outpost*:4180;
|
||||||
proxy_set_header X-Forwarded-Host $http_host;
|
|
||||||
error_page 401 = @akprox_signin;
|
error_page 401 = @akprox_signin;
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
||||||
|
add_header Set-Cookie $auth_cookie;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @akprox_signin {
|
location @akprox_signin {
|
||||||
|
|
Reference in New Issue