mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
Added Apache 2.4 config example
This commit is contained in:
parent
4a214b006b
commit
2fe6d91bbe
1 changed files with 11 additions and 2 deletions
|
@ -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 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"
|
- 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 {
|
server {
|
||||||
listen 127.0.0.1:8081 default;
|
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
|
FastCgiExternalServer /var/run/hhvm_admin.fcgi -host 127.0.0.1:8080
|
||||||
Listen 127.0.0.1:8081
|
Listen 127.0.0.1:8081
|
||||||
|
@ -45,6 +47,13 @@ Listen 127.0.0.1:8081
|
||||||
Alias / /var/run/hhvm_admin.fcgi
|
Alias / /var/run/hhvm_admin.fcgi
|
||||||
</VirtualHost>
|
</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
|
=cut
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue