mdserver-web/plugins/xhprof/conf/xhprof.conf

27 lines
511 B
Plaintext
Executable File

server
{
listen 5858;
server_name 127.0.0.1;
index index.html index.htm index.php;
root {$SERVER_PATH}/xhprof/xhprof_html;
#error_page 404 /404.html;
include {$SERVER_PATH}/web_conf/php/conf/enable-php-{$PHP_VER}.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /\.
{
deny all;
}
access_log {$SERVER_PATH}/xhprof/access.log main;
}