Skip to content
Snippets Groups Projects
Commit 2b0eefb8 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

${url} is "canonical name", not ${name}.

parent 8533e77a
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,8 @@ define wordpress (
redirect_dest => "https://${name}/",
before => Letsencrypt::Certonly[$url],
access_log_format => '%h %u %t %m %H://%v/%U%q %>s %b',
access_log_file => "${name}_access.log",
error_log_file => "${name}_error.log",
access_log_file => "${url}_access.log",
error_log_file => "${url}_error.log",
}
apache::vhost { "${name}_ssl":
......@@ -133,8 +133,8 @@ define wordpress (
ssl_key => "/etc/letsencrypt/live/${url}/privkey.pem",
require => Letsencrypt::Certonly[$url],
access_log_format => '%h %u %t %m %H://%v/%U%q %>s %b',
access_log_file => "${name}_access.log",
error_log_file => "${name}_error.log",
access_log_file => "${url}_access.log",
error_log_file => "${url}_error.log",
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment