diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-10-23 14:38:56 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-10-23 14:38:56 +0300 |
commit | 4185f852471106b55ba430b81a1c5f09decdf16e (patch) | |
tree | cd162d896448872b1f70e7cc5583d14f469e440b | |
parent | 7aed29afbb8b8bdd2b23f08faea19b61e2ead8ff (diff) | |
download | acmeman-4185f852471106b55ba430b81a1c5f09decdf16e.tar.gz acmeman-4185f852471106b55ba430b81a1c5f09decdf16e.tar.bz2 |
Take into account ServerName if LetsEncryptReference is given.v3.02
* lib/App/Acmeman/Source/Apache.pm (examine_http_config): Take into account
ServerName if LetsEncryptReference is given.
* Changes: Update.
* lib/App/Acmeman.pm: Version 3.02
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | lib/App/Acmeman.pm | 2 | ||||
-rw-r--r-- | lib/App/Acmeman/Source/Apache.pm | 5 |
3 files changed, 7 insertions, 3 deletions
@@ -1 +1,4 @@ +3.02 2019-10-23 + - Take into account ServerName if LetsEncryptReference is given. + 3.01 2019-10-20 diff --git a/lib/App/Acmeman.pm b/lib/App/Acmeman.pm index afc64e9..76b8fb1 100644 --- a/lib/App/Acmeman.pm +++ b/lib/App/Acmeman.pm @@ -26,3 +26,3 @@ use feature 'state'; -our $VERSION = '3.01'; +our $VERSION = '3.02'; diff --git a/lib/App/Acmeman/Source/Apache.pm b/lib/App/Acmeman/Source/Apache.pm index 1c0e677..58ba39e 100644 --- a/lib/App/Acmeman/Source/Apache.pm +++ b/lib/App/Acmeman/Source/Apache.pm @@ -99,3 +99,4 @@ sub examine_http_config { $sect->directive('servername')); - my @server_aliases = map { quotewords('\s+', 0, $self->dequote($_->value)) } + my @server_aliases = map { quotewords('\s+', 0, + $self->dequote($_->value)) } $sect->directive('serveralias'); @@ -121,3 +122,3 @@ sub examine_http_config { $self->set('domain', $ref, 'files', 'apache'); - $self->define_alias($ref, @server_aliases); + $self->define_alias($ref, $server_name, @server_aliases); } |