Skip to content

Commit 4e42fce

Browse files
committed
Replace reload_proxy_container with reload_global_nginx_proxy
1 parent ba15731 commit 4e42fce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PHP.php

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

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

380380
if ( $this->site_data['site_ssl'] ) {
381381
$wildcard = $this->site_data['site_ssl_wildcard'];
382382
\EE::debug( 'Wildcard in site php command: ' . $this->site_data['site_ssl_wildcard'] );
383383
$this->init_ssl( $this->site_data['site_url'], $this->site_data['site_fs_path'], $this->site_data['site_ssl'], $wildcard );
384384

385385
\EE\Site\Utils\add_site_redirects( $this->site_data['site_url'], true, 'inherit' === $this->site_data['site_ssl'] );
386-
\EE\Site\Utils\reload_proxy_configuration();
386+
\EE\Site\Utils\reload_global_nginx_proxy();
387387
}
388388
} catch ( \Exception $e ) {
389389
$this->catch_clean( $e );

0 commit comments

Comments
 (0)