Skip to content

authentik config #726

Answered by Zoey2936
Vylooo asked this question in Q&A
Mar 26, 2024 · 4 comments · 54 replies
Discussion options

You must be logged in to vote

I've pasted:

port_in_redirect off;
location / {
    include conf.d/include/always.conf;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    include conf.d/include/proxy.conf;

    auth_request /outpost.goauthentik.io/auth/nginx;
    error_page 401 = @goauthentik_proxy_signin;
    auth_request_set $auth_cookie $upstream_http_set_cookie;
    more_set_headers 'Set-Cookie: $auth_cookie';
    auth_request_set $authentik_username $upstream_http_x_authentik_username;
    auth_request_set $authentik_groups $upstream_http_x_authentik_groups;
    auth_request_set $authentik_email $upstream_http_x_authentik_email;
    auth_request_set $authentik_name …

Replies: 4 comments 54 replies

Comment options

You must be logged in to vote
1 reply
@Zoey2936
Comment options

Comment options

You must be logged in to vote
48 replies
@Vylooo
Comment options

@Vylooo
Comment options

@Vylooo
Comment options

@Zoey2936
Comment options

Answer selected by Zoey2936
@Vylooo
Comment options

@Zoey2936
Comment options

@Zoey2936
Comment options

@Vylooo
Comment options

Comment options

You must be logged in to vote
5 replies
@Zoey2936
Comment options

@d4rkw1n9
Comment options

@d4rkw1n9
Comment options

@Zoey2936
Comment options

@d4rkw1n9
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #725 on March 26, 2024 13:30.