Skip to content

Commit a9b17d7

Browse files
committed
Update wp-config.php
1 parent 6f0f87e commit a9b17d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docroot/wp-config.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress');
2020
define('WP_HOME', 'https://' . $_SERVER['SERVER_NAME']);
2121
define('WP_CONTENT_DIR', dirname(__FILE__) . '/wp-content');
22-
define('WP_CONTENT_URL', 'http://' . $_SERVER['SERVER_NAME'] . '/wp-content');
22+
define('WP_CONTENT_URL', 'https://' . $_SERVER['SERVER_NAME'] . '/wp-content');
23+
24+
$_SERVER['HTTPS'] = 'on';
2325

2426
// Load DB config / secrets
2527
if ( file_exists( dirname(__FILE__) . '/wp-config-local.php' ) )

0 commit comments

Comments
 (0)