Automatically redirect nextcloud login page to authentik
This commit is contained in:
parent
879cfda68e
commit
a919e656c8
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ korhonen.cc, *.korhonen.cc {
|
||||||
|
|
||||||
@nextcloud host cloud.korhonen.cc
|
@nextcloud host cloud.korhonen.cc
|
||||||
handle @nextcloud {
|
handle @nextcloud {
|
||||||
|
# Redirect login page to Authentik
|
||||||
|
redir /login /apps/sociallogin/custom_oidc/korhonen-sso 301
|
||||||
|
|
||||||
# .htaccess / data / config / ... shouldn't be accessible from outside
|
# .htaccess / data / config / ... shouldn't be accessible from outside
|
||||||
@forbidden {
|
@forbidden {
|
||||||
path /.htaccess
|
path /.htaccess
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue