Skip to content
Snippets Groups Projects
Commit d4ad73b2 authored by anarcat's avatar anarcat
Browse files

be more tolerant about the way the alias gets passed from the frontend

parent 32264739
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@ class Provision_Service_http_ssl extends Provision_Service_http_public {
if ($config == 'site' && $this->context->ssl_enabled) {
foreach ($this->context->ip_addresses as $server => $ip_address) {
if ($this->server->name == '@' . $server) {
if ($server == $this->server->name || '@' . $server == $this->server->name) {
$data['ip_address'] = $ip_address;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment