1 # Copyright 2018 Huawei Technologies Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 server.document-root = "/var/www-data/servers/open-cli/"
16 server.username = "www-data"
17 server.groupname = "www-data"
20 ssl.pemfile = "/etc/lighttpd/ocomp.pem"
23 ".html" => "text/html",
24 ".txt" => "text/plain",
25 ".jpg" => "image/jpeg",
29 index-file.names = ( "index.html" )
30 dir-listing.activate = "disable"
42 #server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
43 server.errorlog = "/var/log/lighttpd/error.log"
44 server.pid-file = "/var/run/lighttpd.pid"
45 #compress.cache-dir = "/var/cache/lighttpd/compress/"
46 #compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
48 # default listening port for IPv6 falls back to the IPv4 port
49 ## Use ipv6 if available
50 #include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
51 #include_shell "/usr/share/lighttpd/create-mime.assign.pl"
52 #include_shell "/usr/share/lighttpd/include-conf-enabled.pl"