diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/webserver.example-fcgi.conf | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index ce7835f..b16b192 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ webserver (1.18~pre1) UNRELEASED; urgency=medium * Added websockets support (configurable forwarding proxy) * CGI bugfix: Executable execute bits check + * Added example configurations -- Roland Reichwein <mail@reichwein.it> Sun, 08 Jan 2023 15:26:48 +0100 diff --git a/debian/webserver.example-fcgi.conf b/debian/webserver.example-fcgi.conf new file mode 100644 index 0000000..8a529e4 --- /dev/null +++ b/debian/webserver.example-fcgi.conf @@ -0,0 +1,34 @@ +<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> + <path requested="/unix"> + <plugin>fcgi</plugin> + <target>/var/lib/webserver/fastcgi/socket</target> + </path> + <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> |