summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.example-fcgi.conf
blob: 21e16930e6803b7a8e7c1d7835c0e0a7b56e0bce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<webserver>
 <user>www-data</user>
 <group>www-data</group>
 <threads>10</threads>
 <statisticspath>/var/lib/webserver/stats.db</statisticspath>
 <plugin-directory>/usr/lib/webserver/plugins</plugin-directory>
 <sites>
  <site>
   <name>localhost</name>
   <host>localhost</host>
   <host>[::1]</host>
   <path requested="/fcgi">
    <plugin>fcgi</plugin>
    <target>127.0.0.1:9000</target>
   </path>
   <!-- first alternative: unix domain socket:
   <path requested="/unix">
    <plugin>fcgi</plugin>
    <target>/var/lib/webserver/fastcgi/socket</target>
   </path>
   -->
   <!-- second alternative: fastcgi executable started directly by webserver:
   <path requested="/fastcgi-exe">
    <plugin>fcgi</plugin>
    <target>/var/lib/webserver/fastcgi/executable</target>
   </path>
   -->
  </site>
 </sites>
 <sockets>
  <socket>
   <address>::1</address>
   <port>8080</port>
   <protocol>http</protocol>
   <site>localhost</site>
  </socket>
 </sockets>
</webserver>