This commit is contained in:
2026-05-13 03:46:16 +03:30
parent edde2ea185
commit 6e9544eb48
11 changed files with 100 additions and 15 deletions
+7 -7
View File
@@ -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