Projet

Général

Profil

Révision 2fe6d91b

ID2fe6d91bbe22d700ea8afd4742096daa4399e2d3
Parent 4a214b00
Enfant 5f05c8c7

Ajouté par Jeroen Vermeulen il y a plus de 11 ans

Added Apache 2.4 config example

Voir les différences:

plugins/hhvm/hhvm_
25 25
- 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
26 26
- You can also use the plugin config to set "env.host" and "env.port"
27 27

  
28
=head1 NGINX FASTCGI CONFIG
28
=head1 ADMIN WEBSERVER CONFIG
29

  
30
=head2 NGINX CONFIG
29 31

  
30 32
server {
31 33
    listen              127.0.0.1:8081 default;
......
35 37
    }
36 38
}
37 39

  
38
=head1 APACHE 2.2 FASTCGI CONFIG
40
=head2 APACHE 2.2 CONFIG
39 41

  
40 42
FastCgiExternalServer /var/run/hhvm_admin.fcgi -host 127.0.0.1:8080
41 43
Listen 127.0.0.1:8081               
......
45 47
    Alias  /              /var/run/hhvm_admin.fcgi
46 48
</VirtualHost>
47 49

  
50
=head2 APACHE 2.4 CONFIG
51

  
52
Listen 127.0.0.1:8081
53
<VirtualHost 127.0.0.1:8081>
54
    ProxyPass  /  fcgi://127.0.0.1:8080/
55
</VirtualHost>
56

  
48 57
=cut
49 58

  
50 59
use warnings;

Formats disponibles : Unified diff