1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
class profiles::website_blog_2 {
class { 'website_blog_2':
blog_root => '/var/www/blog',
domain => 'blog.hornquist.se',
domain_aliases => [
'blogg.hornquist.se',
],
}
website_blog_2::instance { 'hugo':
author => 'Hugo Hörnquist',
blog_title => 'HugoNikanors blogg‽',
subtitle => 'A blog about nothing, but mostly itself.',
# vcs_repo => 'https://git.hornquist.se/blog-entries.git',
}
nginx::resource::location { "${website_blog_2::blog_server_name} /":
server => $website_blog_2::blog_server_name,
location => '= /',
location_cfg_append => {
'return' => '307 /hugo',
},
* => letsencrypt::conf::nginx::location($website_blog_2::domain),
}
}
|