From 775f59fe26feea893dea2e246ead68a22c5aafa2 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Sat, 1 Apr 2017 06:55:19 -0400 Subject: TEST-17 secure robot and generate page Change-Id: Ifa0659a504e540cbaf5fc2dea3bfabae9690ea02 Signed-off-by: Jerry Flood --- docker/lighttpd.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docker') 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" +) +) -- cgit 1.2.3-korg