diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-04 03:32:25 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-04 03:32:25 +0100 |
commit | e55fc33754f39dd1ec6553d299c04df87b2bfcfb (patch) | |
tree | ada818f22e33ef1a8df733acb040f8248d571447 | |
parent | certname (diff) | |
download | website_blog_2-e55fc33754f39dd1ec6553d299c04df87b2bfcfb.tar.gz website_blog_2-e55fc33754f39dd1ec6553d299c04df87b2bfcfb.tar.xz |
blog aliases servername.
-rw-r--r-- | manifests/instance.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp index d6b60b8..39540c9 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -94,7 +94,7 @@ define blog::instance ( if $domain_aliases { $alias_conf = { "${blog_title} - aliases" => $default + { - server_name => [ $domain_aliases ], + server_name => $domain_aliases, server_cfg_append => { 'return' => '301 $scheme://blog.hornquist.se$request_uri', }, |