Files
wadamesh/deploy/nginx/flasher.wadamesh.com.conf
T
Kaj SchittecatandClaude Opus 4.8 870e2ecb3a site: center the hero brand + send flasher.* to the journey
- landing hero: replace the inline lockup (its 720-wide viewBox had trailing
  whitespace, pulling the artwork left of centre) with the mark SVG + an HTML
  wordmark in a flex row — perfectly centred, wordmark renders crisp.
- flasher.wadamesh.com now 301s to wadamesh.com so every visitor (incl. the
  firmware's update link) lands on the guided choose-your-path journey rather
  than the bare Connect buttons.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Kaj Schittecat <kaj@schittecat.com>
2026-06-13 11:07:01 +02:00

35 lines
1.1 KiB
Plaintext

# flasher.wadamesh.com — browser (Web Serial) install page.
# wadamesh.com + www -> redirect to the flasher (the bare domain's landing).
#
# Cloudflare fronts these; SSL "Flexible" => CF<->origin is HTTP, so listen 80.
# The page self-upgrades http->https in JS (Web Serial needs a secure context),
# since zone-wide "Always Use HTTPS" is off for the firmware's sake.
server {
listen 80;
listen [::]:80;
server_name flasher.wadamesh.com;
# The install experience is the guided journey at wadamesh.com (choose
# Standalone vs Launcher). flasher.* is kept as an alias that lands there.
return 301 https://wadamesh.com$request_uri;
}
# Bare domain + www -> the guided landing page (deploy/site/). Activate by pointing
# the wadamesh.com A record at the VPS in Cloudflare.
server {
listen 80;
listen [::]:80;
server_name wadamesh.com www.wadamesh.com;
root /srv/wadamesh/site;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location ~ \.json$ {
default_type application/json;
add_header Cache-Control "public, max-age=300";
}
}