Skip to content

Commit b98f553

Browse files
authored
Merge branch 'develop' into fix/GH-EE#1204
2 parents b9304d4 + deb8923 commit b98f553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WordPress.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,15 +419,15 @@ private function create_site( $assoc_args ) {
419419
}
420420

421421
\EE\Site\Utils\add_site_redirects( $this->site_data['site_url'], false, 'inherit' === $this->site_data['site_ssl'] );
422-
\EE\Site\Utils\reload_proxy_configuration();
422+
\EE\Site\Utils\reload_global_nginx_proxy();
423423

424424
if ( $this->site_data['site_ssl'] ) {
425425
$wildcard = 'subdom' === $this->site_data['app_sub_type'] || $this->site_data['site_ssl_wildcard'];
426426
\EE::debug( 'Wildcard in site wp command: ' . $this->site_data['site_ssl_wildcard'] );
427427
$this->init_ssl( $this->site_data['site_url'], $this->site_data['site_fs_path'], $this->site_data['site_ssl'], $wildcard );
428428

429429
\EE\Site\Utils\add_site_redirects( $this->site_data['site_url'], true, 'inherit' === $this->site_data['site_ssl'] );
430-
\EE\Site\Utils\reload_proxy_configuration();
430+
\EE\Site\Utils\reload_global_nginx_proxy();
431431
}
432432
} catch ( \Exception $e ) {
433433
$this->catch_clean( $e );

0 commit comments

Comments
 (0)