paivana

HTTP paywall reverse proxy
Log | Files | Refs | Submodules | README | LICENSE

commit b980accacbf5e9f80e0e44ce32fc0463da2695b3
parent 4f46991729f7e70790d7d397db932d813d78783b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  6 Aug 2026 16:12:15 +0200

defualt to systemd

Diffstat:
Mdebian/etc/paivana/paivana.conf | 16+++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/etc/paivana/paivana.conf b/debian/etc/paivana/paivana.conf @@ -1,5 +1,19 @@ [paivana] -SERVE = unix +# paivana-httpd.socket passes the listening socket in; 'unix' would +# additionally demand UNIXPATH and abort startup with EXIT_NOTCONFIGURED +# after having already been handed the activated socket. +SERVE = systemd + +# The three settings below have no default and paivana-httpd refuses to +# start without them. +# DESTINATION_BASE_URL = http://localhost:8080/ +# MERCHANT_BACKEND_URL = http://localhost:9966/ +# MERCHANT_ACCESS_TOKEN = secret-token:CHANGE-ME + +# Key for the access cookie's MAC. Without it a fresh random key is +# generated at every start, so every restart invalidates every access +# a customer has paid for. +# SECRET = CHANGE-ME # Which HTTP port does the backend listen on? Only used if "SERVE" is 'tcp'. # PORT = 9967