Update the htaccess on both install and update
to not loose clean URLs after update or reinstall
This commit is contained in:
Родитель
c91efc7047
Коммит
6534c5c2ee
4
setup
4
setup
|
@ -79,7 +79,6 @@ if [ "$NC_IS_UPGRADE" -eq 0 ] ; then
|
|||
$OCC config:system:set overwritewbroot --value="/nextcloud"
|
||||
$OCC config:system:set overwrite.cli.url --value="https://$NC_UCR_DOMAIN/nextcloud"
|
||||
$OCC config:system:set htaccess.RewriteBase --value="/nextcloud"
|
||||
$OCC maintenance:update:htaccess
|
||||
$OCC background:cron
|
||||
$OCC app:enable user_ldap
|
||||
$OCC app:disable updatenotification
|
||||
|
@ -137,6 +136,9 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
# Recreate the htaccess on both install and update
|
||||
$OCC maintenance:update:htaccess
|
||||
|
||||
# env var is set from the dockerfile
|
||||
if [ "$NC_IS_PATCHED" = true ]; then
|
||||
$OCC config:system:set integrity.check.disabled --value="true" --type=boolean
|
||||
|
|
Загрузка…
Ссылка в новой задаче