commit e10aab4349cd6a41f076635d58d039890911e042
parent 2508c10baedca10e09549fcea7396d5dc0a75f92
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Tue, 5 May 2026 13:34:22 +0200
add whitelisting, global cookie setting, but generally restrict payment per path
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/manpages/paivana-httpd.1.rst b/manpages/paivana-httpd.1.rst
@@ -15,6 +15,7 @@ Synopsis
**paivana-httpd**
[**-f**_|_**--respect-forwarded-headers**]
[**-h**_|_**--help**]
+[**-g**_|_**--global-payment**]
[**-n**_|_**--no-payment**]
[**-u** *BYTES*_|_**--max-upload=**\ \ *BYTES*]
[**-v**_|_**--version**]
@@ -45,6 +46,10 @@ Its options are as follows:
**-h** | **--help**
Print short help on options.
+**-g** | **-global-payment**
+ Disable per-page payment, a single payment is always valid
+ for the entire site.
+
**-n** | **-no-payment**
Disable payment, only act as a reverse proxy that does nothing.
Useful to temporarily disable the paywall or to test the
diff --git a/manpages/paivana.conf.5.rst b/manpages/paivana.conf.5.rst
@@ -78,6 +78,12 @@ SECRET
Optional, generated at random at every startup if not set.
This is a secret value.
+WHITELIST
+ Posix extended regular expression whitelisting some paths.
+ Whitelisted paths are never subject to the paywall. Should
+ be used to whitelist resources such as images or style sheets.
+ Paths matched against the whitelist always start with '/'.
+ This setting is optional.
SEE ALSO
========