nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit de8619f5d941c67087b12482b2187d9f7546ae3a
parent 764672374ff6129259534dec6c59e8350b51eba7
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Mon, 21 Aug 2023 08:56:11 +0200

feat(aload): basic auth

Diffstat:
Mhcl/default/aload/templates/aload.conf.tmpl | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/hcl/default/aload/templates/aload.conf.tmpl b/hcl/default/aload/templates/aload.conf.tmpl @@ -12,4 +12,11 @@ LoadModule cgi_module modules/mod_cgi.so TimeOut 300 ScriptAlias / /var/www/localhost/cgi-bin/aload/ + +<Location "/"> + AuthType Basic + AuthName "Aload Access" + AuthUserFile /var/www/localhost/ampache/.htpasswd + Require valid-user +</Location> </VirtualHost>