Commit 450a0e32 authored by Daniel's avatar Daniel

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

parent 5242163a
......@@ -7,9 +7,9 @@ echo; echo "nextcloud: setup php-fpm config"
# create a backup
cp ${file_php_fpm_nc_conf} "${file_php_fpm_nc_conf}.bkp"
# update some options
conf_update -c ${file_php_fpm_nc_conf} -o "env[PATH][[:SPACE:]]" -v "$PATH"
conf_update -c ${file_php_fpm_nc_conf} -o "php_admin_value[session.save_path]" -v "$dir_nextcloud_sessions"
conf_update -c ${file_php_fpm_nc_conf} -o "env[PATH]" -v "$PATH"
conf_update -c ${file_php_fpm_nc_conf} -o "^listen" -v "$file_php_fpm_sock"
conf_update -c ${file_php_fpm_nc_conf} -o "^php_admin_value\[session.save_path\]" -v "$dir_nextcloud_sessions"
conf_update -c ${file_php_fpm_nc_conf} -o "^env[PATH]" -v "$PATH"
change_config_value_by_vars ${file_php_fpm_nc_conf}
php_admin_value[session.save_path]
......
......@@ -26,6 +26,7 @@ change_config_value_by_vars ${file_nginx_nc_conf_ssl}
echo "nginx: setup selfsigned certificate for ssl"
mkdir -p $dir_nginx_ssl
file_server_crt=${dir_nginx_ssl}/server.crt
file_server_key=${dir_nginx_ssl}/server.key
#
......
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