forked from chregu/hhvm-newrelic-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hhvm.hdf
66 lines (61 loc) · 1 KB
/
hhvm.hdf
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Server {
Port = 8888
SourceRoot = /var/www/
}
EnvVariables {
NEWRELIC_LICENSE_KEY = INSERT YOUR KEY HERE
NEWRELIC_APP_NAME = HHVM Example
NEWRELIC_APP_LANGUAGE = php-hhvm
NEWRELIC_APP_LANGUAGE_VERSION = 2.4.0
}
Eval {
Jit = true
}
Log {
Level = Error
UseLogFile = true
File = /var/log/hhvm/error.log
Access {
* {
File = /var/log/hhvm/access.log
Format = %h %l %u %t \"%r\" %>s %b
}
}
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
dirindex {
pattern = ^/(.*)/$
to = $1/index.php
qsa = true
}
}
}
}
StaticFile {
FilesMatch {
* {
pattern = .*\.(dll|exe)
headers {
* = Content-Disposition: attachment
}
}
}
Extensions {
css = text/css
gif = image/gif
html = text/html
jpe = image/jpeg
jpeg = image/jpeg
jpg = image/jpeg
png = image/png
tif = image/tiff
tiff = image/tiff
txt = text/plain
}
}
DynamicExtensions {
newrelic = /path/to/newrelic.so
}