summaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-12 20:00:40 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-12 20:00:40 +0100
commit702d32b41c1c4f496dba046c2017cb5b907e55cd (patch)
tree271a48cc1dc9ef1d2fcc846ed4bebbcdd24242e2 /debian
parent124646fe2a31b7211d12fb043fcb760cbe7313b0 (diff)
FCGI test
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rw-r--r--debian/webserver.example-redirect.conf28
2 files changed, 29 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 2ffe331..f2cb6b4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: webserver
Section: httpd
Priority: optional
Maintainer: Roland Reichwein <mail@reichwein.it>
-Build-Depends: debhelper (>= 12), libssl-dev, libboost-all-dev | libboost1.71-all-dev, clang | g++, llvm | g++, lld | g++, libc++-dev | g++, libc++abi-dev | g++, uglifyjs, python3-pkg-resources, htmlmin, cleancss, libreichwein-dev, gcovr, libfmt-dev, pkg-config
+Build-Depends: debhelper (>= 12), libssl-dev, libboost-all-dev | libboost1.71-all-dev, clang | g++, llvm | g++, lld | g++, libc++-dev | g++, libc++abi-dev | g++, uglifyjs, python3-pkg-resources, htmlmin, cleancss, libreichwein-dev, gcovr, libfmt-dev, pkg-config, libfcgi-dev
Standards-Version: 4.5.0
Homepage: http://www.reichwein.it/webserver/
diff --git a/debian/webserver.example-redirect.conf b/debian/webserver.example-redirect.conf
new file mode 100644
index 0000000..689dfa8
--- /dev/null
+++ b/debian/webserver.example-redirect.conf
@@ -0,0 +1,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>