Merge pull request #4370 from gregory-p/wordpress

https to http for staging
This commit is contained in:
gregory-p
2020-10-25 19:32:31 +03:00
committed by GitHub
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
######FOR TEST STAGING ENV
update wp_options set option_value = "http://staging-law.carta.live" where option_id = 1 limit 1;
update wp_options set option_value = "http://staging-law.carta.live" where option_id = 2 limit 1;
update wp_2_options set option_value = "http://staging-live.carta.live" where option_id = 1 limit 1;
update wp_2_options set option_value = "http://staging-law.carta.live/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "staging-law.carta.live" where blog_id = 1 limit 1;
update wp_blogs set domain = "staging-law.carta.live" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "staging-live.carta.live" where blog_id = 2 limit 1;
update wp_site set domain = "staging-law.carta.livem" where id =1 limit 1;

View File

@@ -15,7 +15,7 @@ define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-staging-law.carta.live/
define('LAWCARTA_ENVIRONMENT_NAME', 'staging');
$_SERVER['HTTPS'] = 'On';
//$_SERVER['HTTPS'] = 'On';
//S3 uploads settings
define( 'S3_UPLOADS_BUCKET', 'law-carta-staging-wp' );