update for authentik

Example for use of Authentik.
Copy paste these to each conf that needs it.
This commit is contained in:
bokkoman 2022-06-08 15:28:59 +02:00 committed by GitHub
commit 29a993aac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,9 @@ server {
set $upstream_port 6767; set $upstream_port 6767;
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
# enable for Authentik
#include /config/nginx/authentik.conf;
} }
@ -47,4 +50,7 @@ server {
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
} }
# enable for Authentik
#include /config/nginx/authentik_location.conf;
} }