Compare commits
5 commits
82cda0c6da
...
995ffb49b7
Author | SHA1 | Date | |
---|---|---|---|
995ffb49b7 | |||
e9f0f45043 | |||
ce383899bf | |||
12bebff240 | |||
4eb00d32a3 |
3 changed files with 11 additions and 4 deletions
|
@ -123,6 +123,7 @@ services:
|
|||
|
||||
traefik.http.middlewares.nextcloud-webdav.replacepathregex.regex: "^/.well-known/ca(l|rd)dav"
|
||||
traefik.http.middlewares.nextcloud-webdav.replacepathregex.replacement: "/remote.php/dav/"
|
||||
traefik.http.middlewares.nextcloud-webdav.redirectregex.permanent: true
|
||||
|
||||
traefik.http.middlewares.nextcloud-hsts.headers.stsincludesubdomains: false
|
||||
traefik.http.middlewares.nextcloud-hsts.headers.stspreload: true
|
||||
|
|
|
@ -21,7 +21,7 @@ php occ ldap:set-config s01 ldapBase "dc=mgrote,dc=net"
|
|||
php occ ldap:set-config s01 ldapBaseUsers "dc=mgrote,dc=net"
|
||||
php occ ldap:set-config s01 ldapBaseGroups "dc=mgrote,dc=net"
|
||||
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||
php occ ldap:set-config s01 ldapLoginFilter "(&(objectclass=person)(uid=%uid))"
|
||||
php occ ldap:set-config s01 ldapLoginFilter "(&(&(objectclass=person)(memberOf=cn=nextcloud,ou=groups,dc=mgrote,dc=net))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))))"
|
||||
# EDIT: nextcloud group, contains the users who can login to Nextcloud
|
||||
php occ ldap:set-config s01 ldapUserFilter "(&(objectclass=person)(memberOf=cn=nextcloud,ou=groups,dc=mgrote,dc=net))"
|
||||
php occ ldap:set-config s01 ldapUserFilterMode 0
|
||||
|
|
|
@ -17,15 +17,21 @@ php occ app:disable dashboard firstrunwizard federation federatedfilesharing nex
|
|||
php occ app:enable twofactor_totp calendar contacts checksum epubviewer dicomviewer impersonate metadata quota_warning event_update_notification
|
||||
|
||||
# cron
|
||||
sudo -u www-data php occ background:cron
|
||||
php occ background:cron
|
||||
|
||||
# tz
|
||||
php occ config:system:set logtimezone --value="Europe/Berlin"
|
||||
|
||||
# mail
|
||||
php occ config:system:set mail_from_address --value="nextcloud@mgrote.net"
|
||||
php occ config:system:set mail_smtpmode --value="smtp"
|
||||
php occ config:system:set mail_sendmailmode --value="smtp"
|
||||
php occ config:system:set mail_smtphost --value="mail-relay"y
|
||||
php occ config:system:set mail_smtpport --value="25"
|
||||
|
||||
# status
|
||||
echo Status
|
||||
php occ status
|
||||
php occ user:list
|
||||
|
||||
|
||||
# adhoc: docker exec --user www-data nextcloud-app php occ config:system:set trusted_domains 2 -- value=docker10.mgrote.net
|
||||
|
|
Loading…
Reference in a new issue