|
@@ -17,8 +17,6 @@ if [[ -z "$(ls -A /app/data)" ]]; then
|
|
define('WP_HOME', 'https://$(hostname -f)');
|
|
define('WP_HOME', 'https://$(hostname -f)');
|
|
define('WP_SITEURL', 'https://$(hostname -f)');
|
|
define('WP_SITEURL', 'https://$(hostname -f)');
|
|
|
|
|
|
- define('AUTOMATIC_UPDATER_DISABLED', true);
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
http://cmanios.wordpress.com/2014/04/12/nginx-https-reverse-proxy-to-wordpress-with-apache-http-and-different-port/
|
|
http://cmanios.wordpress.com/2014/04/12/nginx-https-reverse-proxy-to-wordpress-with-apache-http-and-different-port/
|
|
http://wordpress.org/support/topic/compatibility-with-wordpress-behind-a-reverse-proxy
|
|
http://wordpress.org/support/topic/compatibility-with-wordpress-behind-a-reverse-proxy
|
|
@@ -45,6 +43,8 @@ EOF
|
|
echo "Installing OAuth plugin"
|
|
echo "Installing OAuth plugin"
|
|
$WP plugin install --activate --force /app/code/wp-oauth.zip
|
|
$WP plugin install --activate --force /app/code/wp-oauth.zip
|
|
|
|
|
|
|
|
+ $WP plugin install --activate --force /app/code/disable-wordpress-updates.zip
|
|
|
|
+
|
|
$WP option update users_can_register 1
|
|
$WP option update users_can_register 1
|
|
$WP option update wpoa_cloudron_api_enabled 1
|
|
$WP option update wpoa_cloudron_api_enabled 1
|
|
$WP option update wpoa_new_user_role administrator
|
|
$WP option update wpoa_new_user_role administrator
|