diff --git a/docs/sites/colony/shill/containers/middleman.md b/docs/sites/colony/shill/containers/middleman.md index 7f47957..3f1bc4d 100644 --- a/docs/sites/colony/shill/containers/middleman.md +++ b/docs/sites/colony/shill/containers/middleman.md @@ -27,8 +27,9 @@ also waits for `colony-psql` through `systemdAwaitPostgres`, avoiding an early-b - `ams1.int.nul.ie` and its wildcard use a lego `exec` challenge that SSHes to `pdns-file-records@estuary-vm`. This is the default `useACMEHost` certificate internally. -- `nul.ie`, `*.nul.ie` and `*.s3.nul.ie` use Cloudflare DNS. A `postRun` hook copies renewed - material to the `mail` VM and runs `mailcow-ssl-reload` there. +- `nul.ie`, `*.nul.ie`, `*.s3.nul.ie` and `*.slop.nul.ie` (for `slop-broker` previews) use + Cloudflare DNS. A `postRun` hook copies renewed material to the `mail` VM and runs + `mailcow-ssl-reload` there. - Renewal reloads nginx; the `acme` group owns the secret files and includes the nginx user. ### nginx-sso @@ -52,7 +53,7 @@ app, in place of Paseo's hosted relay. `paseo-relay.nul.ie`. It keeps no state, so a restart only drops connections. - The relay can't read or forge messages, so the vhost is open to the world. Its Prometheus `/metrics` is not exposed; `/health` and `/ready` are. -- `paseo.nul.ie` serves Paseo's web app as static files, taken from the same patched Paseo package +- `slop.nul.ie` serves Paseo's web app as static files, taken from the same patched Paseo package as the daemon. Pairing links from our daemon point there, and the app connects through the relay, so nothing from `paseo.sh` is needed in the browser. @@ -93,7 +94,7 @@ all vhosts are `onlySSL`, kTLS and HTTP/2. "SSO" = gated behind nginx-sso (`gene | `speed.nul.ie` | `localhost:8989` | librespeed | | `librespeed.ams1.int.nul.ie` | `localhost:8989` | librespeed on the internal domain (internal wildcard cert) | | `paseo-relay.nul.ie` | `localhost:4000` | Paseo relay; websockets with long timeouts; `/metrics` blocked | -| `paseo.nul.ie` | static Paseo web app | falls back to `index.html`; precompressed files served as-is | +| `slop.nul.ie` | static Paseo web app | falls back to `index.html`; precompressed files served as-is | | `md.nul.ie` | `object-ctr:3000` | HedgeDoc; websockets | | `pb.nul.ie` | `object-ctr:8088` | wastebin | | `photos.nul.ie` | `jackflix-ctr:2342` | PhotoPrism; websockets | diff --git a/docs/sites/home/slop-cannon.md b/docs/sites/home/slop-cannon.md index a47c55b..04ac785 100644 --- a/docs/sites/home/slop-cannon.md +++ b/docs/sites/home/slop-cannon.md @@ -114,7 +114,7 @@ from the app don't survive a restart. It: password. Switching relays means re-pairing. - Push notifications go from the daemon to Expo's push service (`exp.host`), one outbound request per notification carrying its text. -- `middleman` serves the static web app on `paseo.nul.ie`. The daemon's own web UI stays off. +- `middleman` serves the static web app on `slop.nul.ie`. The daemon's own web UI stays off. ### State @@ -191,7 +191,7 @@ To set up provider logins and repos on a fresh agent home, connect with `ssh slo rage --decrypt -i .keys/dev.key secrets/slop-cannon/paseo.env.age ``` -3. On a phone, scan the QR code from the Paseo app. In a browser, open `https://paseo.nul.ie` and +3. On a phone, scan the QR code from the Paseo app. In a browser, open `https://slop.nul.ie` and use the app's paste-pairing-link option. Enter the value after `PASEO_PASSWORD=` when prompted and open the paired host. If the browser shows “Password required” after opening the link in the address bar, remove that host entry and pair again using the paste dialog. diff --git a/nixos/boxes/colony/vms/shill/containers/middleman/default.nix b/nixos/boxes/colony/vms/shill/containers/middleman/default.nix index b87a3cd..4aeb78f 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman/default.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman/default.nix @@ -202,6 +202,7 @@ in extraDomainNames = [ "*.${pubDomain}" "*.s3.${pubDomain}" + "*.slop.${pubDomain}" ]; dnsProvider = "cloudflare"; environmentFile = config.age.secrets."middleman/cloudflare-credentials.conf".path; diff --git a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix index 347dde6..a27dd1b 100644 --- a/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix +++ b/nixos/boxes/colony/vms/shill/containers/middleman/vhosts.nix @@ -398,7 +398,7 @@ in }; useACMEHost = pubDomain; }; - "paseo.${pubDomain}" = { + "slop.${pubDomain}" = { root = paseoWebUi; extraConfig = '' gzip_static on; diff --git a/nixos/boxes/home/palace/vms/slop-cannon.nix b/nixos/boxes/home/palace/vms/slop-cannon.nix index 131532b..d7d41d9 100644 --- a/nixos/boxes/home/palace/vms/slop-cannon.nix +++ b/nixos/boxes/home/palace/vms/slop-cannon.nix @@ -276,7 +276,7 @@ in settings = { version = 1; # Pairing links open our copy of the web app (served by `middleman`) - app.baseUrl = "https://paseo.${lib.my.c.pubDomain}"; + app.baseUrl = "https://slop.${lib.my.c.pubDomain}"; daemon = { # Keep agents from changing modes, answering prompts or opening terminals mcp.injectIntoAgents = false;