From b6ce633ca0c3104fdd050bf7bdcca71254444229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 29 Dec 2021 22:22:15 +0100 Subject: cgit ssl only. --- manifests/site.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { '/': -- cgit v1.2.3