Skip to content

Instantly share code, notes, and snippets.

@BrianGilbert
Last active August 29, 2015 13:56
Show Gist options
  • Save BrianGilbert/9282670 to your computer and use it in GitHub Desktop.
Save BrianGilbert/9282670 to your computer and use it in GitHub Desktop.
XHProf configuration for OSX Aegir installer
###
### Custom site for xhprof.
###
server {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
limit_conn limreq 32; # like mod_evasive - this allows max 32 simultaneous connections from one IP address
listen *:80;
server_name xhprof.ld;
root /usr/local/opt/xhprof/xhprof_html/;
# Extra configuration from modules:
include /var/aegir/config/includes/nginx_vhost_common.conf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment