From dfc2c7ea2e3c3a1c27e40e024a03bb8f6073d946 Mon Sep 17 00:00:00 2001 From: Sam Talonborn Date: Fri, 27 Oct 2023 10:32:53 -0700 Subject: [PATCH] Update OpenBSD config example. --- examples/openbsd/etc/dexter.conf | 3 +-- examples/openbsd/etc/httpd.conf | 4 ++-- examples/openbsd/etc/rc.d/dexter | 6 ++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/examples/openbsd/etc/dexter.conf b/examples/openbsd/etc/dexter.conf index 55eb2fd..7f33934 100644 --- a/examples/openbsd/etc/dexter.conf +++ b/examples/openbsd/etc/dexter.conf @@ -1,3 +1,2 @@ dexter_socket_path="/var/www/run/dexter.sock" -dexter_script_path="/var/www/cgi-bin/dexter/dexter.pl" -dexter_tmpdir="/tmp/dexter" \ No newline at end of file +dexter_script_path="/var/www/cgi-bin/dexter/app/dexter.pl" diff --git a/examples/openbsd/etc/httpd.conf b/examples/openbsd/etc/httpd.conf index e48760d..22da1ca 100644 --- a/examples/openbsd/etc/httpd.conf +++ b/examples/openbsd/etc/httpd.conf @@ -1,7 +1,7 @@ server "" { listen on egress tls port 443 - connection max request body 1000000 + connection max request body 1000000000 fastcgi socket "/run/dexter.sock" @@ -20,4 +20,4 @@ server "" { } gzip-static -} \ No newline at end of file +} diff --git a/examples/openbsd/etc/rc.d/dexter b/examples/openbsd/etc/rc.d/dexter index 512f8ae..6506ae2 100644 --- a/examples/openbsd/etc/rc.d/dexter +++ b/examples/openbsd/etc/rc.d/dexter @@ -2,11 +2,9 @@ daemon="plackup" daemon_user="www" -dexter_script_path="/var/www/cgi-bin/dexter/dexter.pl" +dexter_script_path="/var/www/cgi-bin/dexter/app/dexter.pl" dexter_socket_path="/var/www/run/dexter.sock" dexter_psgi_mode="production" -dexter_tmpdir="/tmp/dexter" -TMPDIR="$dexter_tmpdir"; export TMPDIR . /etc/rc.d/rc.subr @@ -28,4 +26,4 @@ rc_configtest() { rc_exec "/bin/ksh -n /etc/dexter.conf" } -rc_cmd $1 \ No newline at end of file +rc_cmd $1