diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-07-27 21:59:38 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-07-27 21:59:38 +0200 |
commit | 8753ea734fe4927a5ec12075b705f712247a3f9d (patch) | |
tree | ac84bf14b5a5fe7394d1dfc37399eeae3f81707a /manifests/gandalf_web.pp | |
parent | Export varselklotet through regular webserver. (diff) | |
download | profiles-8753ea734fe4927a5ec12075b705f712247a3f9d.tar.gz profiles-8753ea734fe4927a5ec12075b705f712247a3f9d.tar.xz |
Enabled loading of nginx-modules.
Diffstat (limited to '')
-rw-r--r-- | manifests/gandalf_web.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/manifests/gandalf_web.pp b/manifests/gandalf_web.pp index e29e360..810064b 100644 --- a/manifests/gandalf_web.pp +++ b/manifests/gandalf_web.pp @@ -3,7 +3,7 @@ class profiles::gandalf_web { class { '::nginx': manage_repo => false, # server_purge => true, - package_name => 'nginx', + package_name => 'nginx-mainline', service_config_check => true, http_cfg_append => { 'charset' => 'utf-8', @@ -11,7 +11,14 @@ class profiles::gandalf_web { mime_types_preserve_defaults => true, mime_types => { 'text/plain' => 'wiki txt', - } + }, + include_modules_enabled => true, + } + + file { '/etc/nginx/modules-enabled': + ensure => directory, + purge => true, + recurse => true, } $certname = 'bookmark.gandalf.adrift.space' |