Automatically redirect nextcloud login page to authentik
This commit is contained in:
parent
879cfda68e
commit
a919e656c8
|
@ -89,6 +89,9 @@ korhonen.cc, *.korhonen.cc {
|
|||
|
||||
@nextcloud host cloud.korhonen.cc
|
||||
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
|
||||
@forbidden {
|
||||
path /.htaccess
|
||||
|
|
Loading…
Reference in a new issue