summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-29 22:22:15 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-29 22:22:15 +0100
commitb6ce633ca0c3104fdd050bf7bdcca71254444229 (patch)
treedec6b2cef6e1a7a3e31bc1fcc5b393240a5bb250
parentpuppetboard changes. (diff)
downloadwebdav_server-b6ce633ca0c3104fdd050bf7bdcca71254444229.tar.gz
webdav_server-b6ce633ca0c3104fdd050bf7bdcca71254444229.tar.xz
cgit ssl only.
-rw-r--r--manifests/site.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 399f79e..e05b1da 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -350,10 +350,11 @@ node 'hornquist.se' {
nginx::resource::location { '~ \.git$':
server => 'cgit',
www_root => $cgit::scan_path,
+ ssl_only => true,
location_cfg_append => {
auth_basic => '"CGit login"',
auth_basic_user_file => '/.htpasswd',
- }
+ },
}
nginx::resource::location { '/':