Closed MetaBureau closed 10 years ago
removing "/var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf" allows server to start
Hi Stewart The was an issue with the creation of the xhprof config, update to script will get pushed soon, but you can fix locally by running the following 2 commands:
rm /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf
curl https://gist.githubusercontent.com/BrianGilbert/9282670/raw/3e77b7fc4baa5cb072b13156b943c9a4145eb86a/nginx_xhprof.ld.conf > /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf
"sudo nginx"
returns
"nginx: [emerg] invalid number of arguments in "fastcgi_param" directive in /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf:7"
Here is the contents of above mentioned file.
Custom site for xhprof.
server { include fastcgi_params; fastcgi_param SCRIPT_FILENAME ; limit_conn gulag 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; }