Commit d4ad73b2 authored by anarcat's avatar anarcat

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

parent 32264739
......@@ -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;
}
......
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