summaryrefslogtreecommitdiffstats
path: root/docker/lighttpd.conf
blob: 7fc50dbb1f44bdb9290dc143be680607b0577409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
server.document-root = "/var/opt/ONAP/html/"

server.port = 88

server.username = "www-data"
server.groupname = "www-data"

dir-listing.activate = "disable"

alias.url = ( "/logs/" => "/share/logs/" )
$HTTP["url"] =~ "^/logs/" {
    dir-listing.activate = "enable"
}

mimetype.assign = (
  ".log" => "text/plain",
  ".txt" => "text/plain",
  ".png" => "image/png",
  ".html" => "text/html",
  ".xml" => "text/xml"
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
index-file.names = ( "index.html" )

server.modules += ( "mod_auth" )
server.modules += ( "mod_alias" )
server.modules += ( "mod_compress" )
auth.debug = 2
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/authorization"
auth.require = ( "/" =>
(
"method" => "basic",
"realm" => "Password protected area",
"require" => "valid-user"
)
)

compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain")
lass="ow">image:: ../images/bpmn_project_structure_2.png Groovy scripts --------------- There is one groovy script for each BPMN file. Groovy scripts are invoked by script tasks within the BPMN flows. .. image:: ../images/bpmn_project_structure_3.png Unit Tests ----------- Normally, we create a unit test class for every flow. This one is missing a unit test for its rollback flow. .. image:: ../images/bpmn_project_structure_4.png Unit Test Resource Files ------------------------ Any files needed by the unit tests are kept under the src/test/resources/__files folder. .. image:: ../images/bpmn_project_structure_5.png