Automatically redirect nextcloud login page to authentik

main
Marko Korhonen 1 month ago
parent 879cfda68e
commit a919e656c8
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

@ -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…
Cancel
Save