Commit 6644df8e authored by mig5's avatar mig5

Issue #1346712 by mrfelton - Nginx config files required as includes in vhosts...

Issue #1346712 by mrfelton - Nginx config files required as includes in vhosts are not copied when Nginx SSL feature is enabled.
parent d8c9fde7
......@@ -35,13 +35,13 @@ class Provision_Service_http_nginx_ssl extends Provision_Service_http_ssl {
}
function verify_server_cmd() {
provision_file()->copy(dirname(__FILE__) . '/nginx_advanced_include.conf', $this->server->include_path . '/nginx_advanced_include.conf');
provision_file()->copy(dirname(dirname(__FILE__)) . '/nginx_advanced_include.conf', $this->server->include_path . '/nginx_advanced_include.conf');
$this->sync($this->server->include_path . '/nginx_advanced_include.conf');
provision_file()->copy(dirname(__FILE__) . '/nginx_simple_include.conf', $this->server->include_path . '/nginx_simple_include.conf');
provision_file()->copy(dirname(dirname(__FILE__)) . '/nginx_simple_include.conf', $this->server->include_path . '/nginx_simple_include.conf');
$this->sync($this->server->include_path . '/nginx_simple_include.conf');
provision_file()->copy(dirname(__FILE__) . '/fastcgi_params.conf', $this->server->include_path . '/fastcgi_params.conf');
provision_file()->copy(dirname(dirname(__FILE__)) . '/fastcgi_params.conf', $this->server->include_path . '/fastcgi_params.conf');
$this->sync($this->server->include_path . '/fastcgi_params.conf');
provision_file()->copy(dirname(__FILE__) . '/fastcgi_ssl_params.conf', $this->server->include_path . '/fastcgi_ssl_params.conf');
provision_file()->copy(dirname(dirname(__FILE__)) . '/fastcgi_ssl_params.conf', $this->server->include_path . '/fastcgi_ssl_params.conf');
$this->sync($this->server->include_path . '/fastcgi_ssl_params.conf');
// Call the parent at the end. it will restart the server when it finishes.
parent::verify_server_cmd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment