aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-04-01 06:55:19 -0400
committerJerry Flood <jf9860@att.com>2017-04-01 06:55:40 -0400
commit775f59fe26feea893dea2e246ead68a22c5aafa2 (patch)
tree137f6f0a157d064f19c1f70f269279cab28235a0 /docker
parent308ba6b851750b2fccca7c94a5396f62e302ed84 (diff)
TEST-17 secure robot and generate page
Change-Id: Ifa0659a504e540cbaf5fc2dea3bfabae9690ea02 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/lighttpd.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf
index 850af409..ac92070d 100644
--- a/docker/lighttpd.conf
+++ b/docker/lighttpd.conf
@@ -14,4 +14,14 @@ mimetype.assign = (
static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
index-file.names = ( "index.html" )
-
+server.modules += ( "mod_auth" )
+auth.debug = 2
+auth.backend = "plain"
+auth.backend.plain.userfile = "/etc/lighttpd/authorization"
+auth.require = ( "/" =>
+(
+"method" => "basic",
+"realm" => "Password protected area",
+"require" => "valid-user"
+)
+)