From dd4a98491287f50d86f9b9d15daf3bfff100ad05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A2ni=20Marques?= Date: Thu, 9 Jul 2026 12:06:59 +0200 Subject: [PATCH] exchange landing: intro page + nginx :9014 --- configs/exchange-landing/README.md | 21 ++ configs/exchange-landing/index.html | 353 ++++++++++++++++++++ configs/exchange-landing/nginx-landing.conf | 24 ++ 3 files changed, 398 insertions(+) create mode 100644 configs/exchange-landing/README.md create mode 100644 configs/exchange-landing/index.html create mode 100644 configs/exchange-landing/nginx-landing.conf diff --git a/configs/exchange-landing/README.md b/configs/exchange-landing/README.md new file mode 100644 index 0000000..8f6b0c0 --- /dev/null +++ b/configs/exchange-landing/README.md @@ -0,0 +1,21 @@ +# Exchange landing (`exchange.hacktivism.ch` intro) + +Static intro (add-exchange QR + links) for the **GOA exchange**. + +| Item | Value | +|------|--------| +| Container | `taler-hacktivism-exchange-ansible` | +| In-container path | `/var/www/exchange-landing/` | +| nginx | listen **9014** (`nginx-landing.conf`) | +| **Host port to publish / wire** | **`9014`** → `127.0.0.1:9014` | +| Public path (once Caddy wired) | e.g. `https://exchange.hacktivism.ch/intro/` *or* dedicated intro host | + +## Deploy + +```bash +# from laptop → koopa +scp -r configs/exchange-landing/* koopa:/tmp/exchange-landing/ +# on koopa: install nginx if missing, copy files, enable site, publish port +``` + +See `scripts/taler-landing/deploy-landings.sh`. diff --git a/configs/exchange-landing/index.html b/configs/exchange-landing/index.html new file mode 100644 index 0000000..63a3c4c --- /dev/null +++ b/configs/exchange-landing/index.html @@ -0,0 +1,353 @@ + + + + + + GOA Exchange + + + + + +
+
+ GOA · Exchange +

GOA Exchange

+

Explorational intergalactic exchange — coins, denominations, withdraw / refresh / deposit.

+
+ +
+

Coins

+

From exchange DB · coin lifecycle

+
+
Known coins
+
Live (remaining)
+
Spent / zero
+
Remaining amt
+
Withdraw ops
+
Withdraw amt
+
Refresh
+
Coin deposits
+
Batch deposits
+
Recoup
+
Refunds
+
History events
+
+ +
+ +
+

Denominations

+

Signed keys in DB · public ladder on /keys

+
+
Denom keys
+
Unique values
+
Withdrawable now
+
+
+

Value ladder

+
+
+
+ +
+

Reserves · wire

+

Backing money movement

+
+
Reserves
+
Wire in
+
Wire in amt
+
Wire out
+
+

Loading…

+ +
+ +
+

Performance

+

Live HTTP probes + container memory (RSS)

+
+
/keys
+
/config
+
Loadavg
+
Container
+
PostgreSQL
+
Taler procs
+
Nginx
+
+
+

Top processes (RSS)

+
+
+

Memory from /proc + cgroup inside podman container.

+
+ +
+

Add the exchange

+

Trust exchange.hacktivism.ch

+
+
+
+
Add exchange
+
+ Open in wallet → +

taler://add-exchange/exchange.hacktivism.ch/

+ +
+
+ + +
+ + + diff --git a/configs/exchange-landing/nginx-landing.conf b/configs/exchange-landing/nginx-landing.conf new file mode 100644 index 0000000..3c55d47 --- /dev/null +++ b/configs/exchange-landing/nginx-landing.conf @@ -0,0 +1,24 @@ +# Exchange landing — :9014 (behind Caddy — no port in Location) +server { + listen 9014; + listen [::]:9014; + server_name exchange.hacktivism.ch _; + root /var/www/exchange-landing; + index index.html; + + absolute_redirect off; + port_in_redirect off; + + location = / { + return 302 /intro/; + } + location = /intro { + return 302 /intro/; + } + location /intro/ { + alias /var/www/exchange-landing/; + } + location / { + try_files $uri $uri/ =404; + } +}