Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorLeitwolf112026-10-16 07:16:14 +0300
committerLeitwolf112026-10-16 07:16:14 +0300
commit235874b4e2bbf75acf2fd09ec37c3dfd480c01b7 (patch)
treec76322adffc6f0a794cfe7391de8d32ece8b57ae /docs
parent205d91185e22b9129c528296cf07d15225d82866 (diff)
parente140d6587a1a74efc205b29582dfbe9942e0f3dc (diff)
downloadprogmaweb-235874b4e2bbf75acf2fd09ec37c3dfd480c01b7.tar.gz
Merge remote-tracking branch 'origin/main' into feature/thirty-day-sessions
Diffstat (limited to 'docs')
-rw-r--r--docs/ARCHITECTURE.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index cb4b20f..b2b46d6 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -45,8 +45,9 @@ One build serves three hosts. The host of a request, not a separate deployment,
same URL without the parameter. See [Localization](LOCALIZATION.md).
2. **Account root.** `/` on the account host is rewritten to the internal `/account` page, so the account landing page
has the short URL.
-3. **ViGet.** On the ViGet host `/` is rewritten to `/viget` and `/dslplugins` to `/viget/dslplugins`. `/login`,
- `/register` and `/recover` redirect to the account host.
+3. **ViGet.** On the ViGet host `/` is rewritten to `/viget`, `/langs/tala` to `/viget/langs/tala` and
+ `/dslplugins/tazel` to `/viget/dslplugins/tazel`. `/langs` and `/dslplugins` redirect permanently to those two
+ catalogs. `/login`, `/register` and `/recover` redirect to the account host.
4. **Internal trees stay internal.** `/viget/...` on any other host redirects to the ViGet host, and `/account` on any
other host redirects to the account host.
@@ -63,11 +64,12 @@ The host is read from `X-Forwarded-Host` first and `Host` second, without the po
| `/account` (shown as `/` on the account host) | account landing page | no |
| `/login`, `/register`, `/recover` | authentication and recovery | no |
| `/<Account>/dashboard` | dashboard of the signed-in account | no |
-| `/viget` (shown as `/` on the ViGet host) | package catalog | yes |
-| `/viget/dslplugins` (shown as `/dslplugins`) | DSL plugin catalog | yes |
+| `/viget` (shown as `/` on the ViGet host) | registry status and the list of catalogs | yes |
+| `/viget/langs/tala` (shown as `/langs/tala`) | catalog of Tala packages | yes |
+| `/viget/dslplugins/tazel` (shown as `/dslplugins/tazel`) | catalog of Tazel DSL plugins | yes |
-`robots.txt` and `sitemap.xml` are generated per host: the ViGet host lists its two catalog pages, every other host
-lists the apex homepage only. Nginx additionally sends `X-Robots-Tag: noindex` for the whole account host.
+`robots.txt` and `sitemap.xml` are generated per host: the ViGet host lists its home page and its two catalog pages,
+every other host lists the apex homepage only. Nginx additionally sends `X-Robots-Tag: noindex` for the whole account host.
Pages are rendered on the server for every request, because the language depends on the request. Two components run
in the browser: the authentication form and the dashboard.