summaryrefslogtreecommitdiffhomepage
path: root/debian/webserver.example-redirect.conf
blob: 689dfa81575858a78d2c1508932fa2752eeb2015 (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
<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="/redirect1">
    <plugin>redirect</plugin>
    <target>https://www.antcom.de/</target>
    <STATUS_CODE>301</STATUS_CODE>
    <MESSAGE>Redirecting to antcom.de ...</MESSAGE>
   </path>
  </site>
 </sites>
 <sockets>
  <socket>
   <address>::1</address>
   <port>8080</port>
   <protocol>http</protocol>
   <site>localhost</site>
  </socket>
 </sockets>
</webserver>