configs/paivana: charge GOA:4200 for example site
This commit is contained in:
parent
d168df26e3
commit
572da9aef9
3 changed files with 157 additions and 6 deletions
|
|
@ -1,8 +1,54 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head><meta charset="utf-8"/><title>Protected — paivana.hacktivism.ch</title></head>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Example site — free after GOA:4200</title>
|
||||
<style>
|
||||
:root { color-scheme: light dark; }
|
||||
body {
|
||||
font-family: system-ui, sans-serif;
|
||||
max-width: 42rem;
|
||||
margin: 3rem auto;
|
||||
padding: 0 1.25rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
.badge {
|
||||
display: inline-block;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
padding: 0.2rem 0.55rem;
|
||||
border-radius: 999px;
|
||||
background: #0a7;
|
||||
color: #fff;
|
||||
}
|
||||
h1 { margin: 0.6rem 0 0.4rem; font-size: 1.75rem; }
|
||||
.price { font-variant-numeric: tabular-nums; }
|
||||
code { background: color-mix(in srgb, CanvasText 12%, transparent); padding: 0.1em 0.35em; border-radius: 3px; }
|
||||
.card {
|
||||
margin-top: 1.5rem;
|
||||
padding: 1rem 1.1rem;
|
||||
border: 1px solid color-mix(in srgb, CanvasText 18%, transparent);
|
||||
border-radius: 10px;
|
||||
}
|
||||
ul { padding-left: 1.2rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Payment verified</h1>
|
||||
<p>Demo upstream behind Paivana (GOA). Site: <code>https://paivana.hacktivism.ch/</code></p>
|
||||
<span class="badge">unlocked</span>
|
||||
<h1>Example site</h1>
|
||||
<p>
|
||||
You paid <strong class="price">GOA:4200</strong> once via GNU Taler / Paivana.
|
||||
This whole example site is now free for you to browse (site-wide access cookie).
|
||||
</p>
|
||||
<div class="card">
|
||||
<p><strong>What this demonstrates</strong></p>
|
||||
<ul>
|
||||
<li>Paywall: <code>paivana-httpd</code> in front of a normal upstream HTTP site</li>
|
||||
<li>Currency: exploration money <code>GOA</code> on exchange.hacktivism.ch</li>
|
||||
<li>After payment: no further charge for pages behind this proxy</li>
|
||||
</ul>
|
||||
<p style="margin-bottom:0">Host: <code>https://paivana.hacktivism.ch/</code></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue