summaryrefslogtreecommitdiffstats
path: root/cmso-robot/docker/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-robot/docker/lighttpd.conf')
-rw-r--r--cmso-robot/docker/lighttpd.conf27
1 files changed, 27 insertions, 0 deletions
diff --git a/cmso-robot/docker/lighttpd.conf b/cmso-robot/docker/lighttpd.conf
new file mode 100644
index 0000000..5cd4d9a
--- /dev/null
+++ b/cmso-robot/docker/lighttpd.conf
@@ -0,0 +1,27 @@
+server.document-root = "/opt/app/testsuite/html/"
+
+server.port = 88
+
+server.username = "www-data"
+server.groupname = "www-data"
+
+dir-listing.activate = "disable"
+
+mimetype.assign = (
+ ".html" => "text/html"
+)
+
+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"
+)
+)