UPDATE
This commit is contained in:
+7
-7
@@ -124,13 +124,13 @@ $wordpress_offline_mode = filter_var(
|
||||
|
||||
if ( $wordpress_offline_mode ) {
|
||||
define( 'WP_HTTP_BLOCK_EXTERNAL', true );
|
||||
define(
|
||||
'WP_ACCESSIBLE_HOSTS',
|
||||
getenv_docker('WORDPRESS_ACCESSIBLE_HOSTS', 'localhost,127.0.0.1,::1,wordpress,db')
|
||||
);
|
||||
define( 'AUTOMATIC_UPDATER_DISABLED', true );
|
||||
define( 'WP_AUTO_UPDATE_CORE', false );
|
||||
}
|
||||
define(
|
||||
'WP_ACCESSIBLE_HOSTS',
|
||||
getenv_docker('WORDPRESS_ACCESSIBLE_HOSTS', 'localhost,127.0.0.1,::1,wordpress,db,backend-web')
|
||||
);
|
||||
define( 'AUTOMATIC_UPDATER_DISABLED', true );
|
||||
define( 'WP_AUTO_UPDATE_CORE', false );
|
||||
}
|
||||
|
||||
// If we're behind a proxy server and using HTTPS, we need to alert WordPress of that fact
|
||||
// see also https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy
|
||||
|
||||
Reference in New Issue
Block a user