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:
Jens Langhammer 2021-05-16 22:18:31 +02:00
parent 8d2a3b67b9
commit 176360fdd7
1 changed files with 3 additions and 1 deletions

View File

@ -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 {