add globe_history for lighttpd config
This commit is contained in:
@@ -8,6 +8,7 @@ url.redirect += (
|
||||
alias.url += (
|
||||
"/INSTANCE/data/" => "SOURCE_DIR/",
|
||||
"/INSTANCE/chunks/" => "/run/SERVICE/",
|
||||
"/INSTANCE/globe_history/" => "/var/globe_history/",
|
||||
"/INSTANCE/" => "HTMLPATH/"
|
||||
)
|
||||
|
||||
@@ -49,9 +50,9 @@ $HTTP["url"] =~ "^/INSTANCE/data/traces/" {
|
||||
"Content-Encoding" => "gzip",
|
||||
)
|
||||
}
|
||||
$HTTP["url"] =~ "^/INSTANCE/data/heatmap/" {
|
||||
$HTTP["url"] =~ "^/INSTANCE/globe_history/" {
|
||||
setenv.add-response-header += (
|
||||
"Cache-Control" => "public, max-age=10",
|
||||
"Cache-Control" => "public, max-age=3600",
|
||||
"Content-Encoding" => "gzip",
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user