2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Added Apache 2.4 config example

This commit is contained in:
Jeroen Vermeulen 2014-08-03 23:10:40 +02:00
parent 4a214b006b
commit 2fe6d91bbe

View File

@ -25,7 +25,9 @@ Copyright (c) 2014 Jeroen Vermeulen - http://www.jeroenvermeulen.eu
- You can make it connect to another IP and port by naming the symlink "hhvm_[IP]_[PORT]", for example hhvm_11.22.33.44_8081
- You can also use the plugin config to set "env.host" and "env.port"
=head1 NGINX FASTCGI CONFIG
=head1 ADMIN WEBSERVER CONFIG
=head2 NGINX CONFIG
server {
listen 127.0.0.1:8081 default;
@ -35,7 +37,7 @@ server {
}
}
=head1 APACHE 2.2 FASTCGI CONFIG
=head2 APACHE 2.2 CONFIG
FastCgiExternalServer /var/run/hhvm_admin.fcgi -host 127.0.0.1:8080
Listen 127.0.0.1:8081
@ -45,6 +47,13 @@ Listen 127.0.0.1:8081
Alias / /var/run/hhvm_admin.fcgi
</VirtualHost>
=head2 APACHE 2.4 CONFIG
Listen 127.0.0.1:8081
<VirtualHost 127.0.0.1:8081>
ProxyPass / fcgi://127.0.0.1:8080/
</VirtualHost>
=cut
use warnings;