Commit 1960f73a authored by Daniel's avatar Daniel

Update overlay/root/scripts/nc_config.sh, overlay/root/scripts/nc_tuning.sh files

Deleted overlay/usr/local/etc/nginx/ssl/server.key, overlay/usr/local/etc/nginx/ssl/server.crt, overlay/usr/local/etc/nginx/ssl/chain.crt, overlay/usr/local/etc/nginx/ssl/ca.crt files
parent 758b64d9
......@@ -45,8 +45,9 @@ echo; echo "nextcloud: setup via occ"
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#command-line-installation
occ maintenance:install --database "${DB_TYPE}" --database-name "${DB_NAME}" --database-user "${DB_ROOT}" --database-pass="${DB_ROOT_PW}" --database-host "localhost:${file_mysql_sock}" --admin-user "${NC_ROOT}" --admin-pass "${NC_ROOT_PW}" --data-dir "${dir_nextcloud_data}"
occ config:system:set trusted_domains 0 --value '${servername}'
occ config:system:set trusted_domains 1 --value '${serverip}'
occ config:system:set trusted_domains 0 --value "${servername}"
occ config:system:set trusted_domains 1 --value "${serverip}"
occ config:system:set overwrite.cli.url --value "https://${servername}"
occ config:system:set mysql.utf8mb4 --value "true"
occ config:system:set log_type --value "file"
......
......@@ -25,6 +25,8 @@ conf_update_enable ${file_php_conf} "opcache.memory_consumption.*=" "128"
conf_update_enable ${file_php_conf} "opcache.save_comments.*=" "1"
conf_update_enable ${file_php_conf} "opcache.revalidate_freq.*=" "1"
service php-fpm restart
service nginx restart
echo "tuning: fpm"
# php-fpm
......
Enter certificate here
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment