Skip to main content

BISCWall (AR wall)

Augmented-reality wall for ISC events: visitors scan a QR code next to a wall and join activities on their phone; organisers set it up at /admin. Run by Martin Tavernier on a rumba guest (November 2026).

URLhttps://ar.isc-vs.ch (public), https://srv-ar.isc3.isc-vs.ch (internal, VPN)
Guestsrv-ar — VM 132 on rumba, 192.168.88.47, Rocky 9, FreeIPA client; 3 cores / 4 GB / 30 GB
AppNode (Fastify + Socket.IO + SQLite), systemd biscwall, listens on 127.0.0.1:8787 only; data in /var/lib/biscwall
Sourcegithub.com/LouisMLettry/GreatWallOfISC, branch deploy, cloned to /opt/biscwall; the timer biscwall-deploy.timer pulls it every 5 min (git reset --hard), so any local change to the code is lost
Frontnginx on the guest, port 443 only — config in provisioning/ar/
Open itemsops todo → Martin's guests

Request path​

Internet → srv-web01 (Caddy, Let's Encrypt ar.isc-vs.ch) → https://192.168.88.47:443 (nginx, FreeIPA cert) → 127.0.0.1:8787 (app)
  • Public TLS: Caddy on srv-web01 obtains and renews the Let's Encrypt certificate. DNS: ar CNAME rumba.isc-vs.ch. at Infomaniak.
  • Internal TLS: certificate issued by FreeIPA for srv-ar.isc3.isc-vs.ch, renewed by certmonger (getcert list -i nginx-srv-ar.isc3.isc-vs.ch, valid until 2028-11-17), nginx reloaded after renewal. Caddy verifies it against the FreeIPA CA.
  • No HTTP: nothing listens on port 80 on srv-ar, firewalld opens https and ssh only. http://ar.isc-vs.ch gets Caddy's 308 redirect to HTTPS, as every site on srv-web01.
caution
Caddy must not rewrite Host

The app builds the QR codes and marker PDFs from the request host. Unlike the jass vhost, the ar vhost keeps Host: ar.isc-vs.ch; otherwise printed QR codes point to the internal name.

Security (nginx)​

ControlSetting
Admin cookieSecure; HttpOnly; SameSite=Strict, forced by proxy_cookie_flags
Origin checkany request carrying an Origin other than https://ar.isc-vs.ch or https://srv-ar.isc3.isc-vs.ch gets 403 — covers Socket.IO and the API against the other *.isc-vs.ch sites, which SameSite treats as the same site
CORSnone: Access-Control-Allow-* headers from the app are dropped
HeadersHSTS (1 year), CSP ('self', plus raw.githubusercontent.com for the ISC logos), X-Frame-Options: SAMEORIGIN, nosniff, Referrer-Policy, COOP/CORP same-origin, Permissions-Policy (camera, fullscreen and motion sensors for the site only; microphone and geolocation off)
Uploads1 GB body, 10 min timeouts (nginx and Caddy)

A new public name for the app must be added to the Origin list in provisioning/ar/biscwall.conf and to server_name, or its API calls and live updates get 403.