Merge branch 'master' of https://github.com/maxious/ACTBus-ui
[busui.git] / expire.conf
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
#######################################################################
##
##  Expire Module 
## --------------- 
##
## See http://www.lighttpd.net/documentation/expire.html
##
server.modules += ( "mod_expire" )
 
##
##  assignes a expiration to all files below the specified path. The
##  specification of the time is made up of:
##
##    <access|modification> <number> <years|months|days|hours|minutes|seconds>
##    
#expire.url = (
#  "/buggy/"  => "access 2 hours",
#  "/images/" => "access plus 1 seconds 2 minutes"
#)
etag.use-mtime = "enable"
etag.use-inode = "disable"
static-file.etags = "enable"
$HTTP["url"] =~ "\.(css|js|png|jpg|ico|gif)$" {
        expire.url = ( "" => "access 7 days" )
}
 
##
#######################################################################