diff --git a/src/cloudron.js b/src/cloudron.js index 43799bb58..7b8231a6d 100644 --- a/src/cloudron.js +++ b/src/cloudron.js @@ -230,6 +230,8 @@ function configureDefaultServer(callback) { safe.child_process.execSync(certCommand); } + safe.fs.unlinkSync(path.join(paths.NGINX_APPCONFIG_DIR,'ip_based_setup.conf')); + nginx.configureAdmin(certFilePath, keyFilePath, 'default.conf', '', function (error) { if (error) return callback(error);