diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-29 22:22:15 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-29 22:22:15 +0100 |
commit | b6ce633ca0c3104fdd050bf7bdcca71254444229 (patch) | |
tree | dec6b2cef6e1a7a3e31bc1fcc5b393240a5bb250 | |
parent | puppetboard changes. (diff) | |
download | webdav_server-b6ce633ca0c3104fdd050bf7bdcca71254444229.tar.gz webdav_server-b6ce633ca0c3104fdd050bf7bdcca71254444229.tar.xz |
cgit ssl only.
Diffstat (limited to '')
-rw-r--r-- | manifests/site.pp | 3 |
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 { '/': |