diff options
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 { '/': |