diff options
author | Jerry Flood <jf9860@att.com> | 2017-03-30 21:00:10 -0400 |
---|---|---|
committer | Jerry Flood <jf9860@att.com> | 2017-03-30 21:08:07 -0400 |
commit | 2436f54331b3e8bb45e11c069e82216aa46dc51c (patch) | |
tree | 020302c7e1f5cf567e1ab523044e6c99e4d66ace /docker/lighttpd.conf | |
parent | 7d141a180f246370081d519cb923ea3a8ead016a (diff) |
TEST-17 - secure robot and generate page
Update web site to require a password
provide script to gnerate the page and
credentials for user 'test'
Change-Id: Ic40fcd7f224f27dc819af5ba54695de2fd47520a
Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'docker/lighttpd.conf')
-rw-r--r-- | docker/lighttpd.conf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf index 850af409..de9eaa22 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" => "user=robot" +) +) |