Move all services from srazka.com to reudy.net
Renames every domain in the config: Caddy virtual hosts (auth, hello, nextcloud, git, panel), the ACME contact email, Authelia's session cookie domain / portal URL / default redirect and TOTP issuer, Nextcloud's hostName and overwritehost, and Forgejo's DOMAIN (ROOT_URL and ssh clone URLs follow from it; the panel picks them up via panel.nix). Panel docs and examples updated too, and a README paragraph that had run together is split again. Requires DNS for auth/hello/nextcloud/git/panel.reudy.net (or a *.reudy.net wildcard) pointing at the server before deploying. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UbWSNkXxZhYf7eqHTyx3Bf
This commit is contained in:
parent
db46c5e793
commit
b27bbc19cb
3 changed files with 23 additions and 21 deletions
16
README.md
16
README.md
|
|
@ -25,16 +25,16 @@ All app routes are written to a single `routes/routes.caddy` file that Caddy imp
|
|||
# Routes are "domain|upstream[|path]" entries, comma-separated.
|
||||
|
||||
# Create a new app (single route, protected by Authelia)
|
||||
panelctl init whoami "whoami.srazka.com|127.0.0.1:18080" true
|
||||
panelctl init whoami "whoami.reudy.net|127.0.0.1:18080" true
|
||||
|
||||
# Create with multiple routes (different ports, optional path)
|
||||
panelctl init myapp "app.srazka.com|127.0.0.1:18081,api.srazka.com|127.0.0.1:18082|/api/*" true
|
||||
panelctl init myapp "app.reudy.net|127.0.0.1:18081,api.reudy.net|127.0.0.1:18082|/api/*" true
|
||||
|
||||
# Create with wildcard domain (requires DNS challenge in Caddy)
|
||||
panelctl init wild "*.srazka.com|127.0.0.1:18083" false
|
||||
panelctl init wild "*.reudy.net|127.0.0.1:18083" false
|
||||
|
||||
# Change routes later (Caddy reloads automatically)
|
||||
panelctl set-routes whoami "whoami.srazka.com|127.0.0.1:18080,who.srazka.com|127.0.0.1:18080"
|
||||
panelctl set-routes whoami "whoami.reudy.net|127.0.0.1:18080,who.reudy.net|127.0.0.1:18080"
|
||||
|
||||
# Deploy (compose up + caddy reload)
|
||||
panelctl deploy whoami
|
||||
|
|
@ -90,8 +90,8 @@ panelctl remove whoami
|
|||
## Web UI & API
|
||||
|
||||
- Nix runs `panel-api` as a systemd service on `127.0.0.1:9911`.
|
||||
- Caddy proxies `https://panel.srazka.com` → panel-api with Authelia forward_auth.
|
||||
- Open `https://panel.srazka.com` for the web UI.
|
||||
- Caddy proxies `https://panel.reudy.net` → panel-api with Authelia forward_auth.
|
||||
- Open `https://panel.reudy.net` for the web UI.
|
||||
- API docs: [API.md](API.md)
|
||||
|
||||
### Web UI features
|
||||
|
|
@ -130,7 +130,9 @@ Forgejo. The token is stored in `state/panel/forgejo-token` (mode 0600).
|
|||
`state/panel/ssh/` the first time it is needed. Its public half is shown in
|
||||
Settings (and next to ssh URLs); add it as a read-only deploy key to a
|
||||
repository — or to your Forgejo account for access to all repositories — to
|
||||
clone `ssh://git@git.srazka.com:14922/owner/repo.git` style URLs. **Sync** fetches the configured branch and
|
||||
clone `ssh://git@git.reudy.net:14922/owner/repo.git` style URLs.
|
||||
|
||||
**Sync** fetches the configured branch and
|
||||
hard-resets the checkout to it before redeploying, so the repository is the
|
||||
source of truth: compose edits made in the panel are discarded on the next sync
|
||||
(the UI warns about this). An access token for a private repository is stored in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue