feat(server): serve the pacman repository over HTTPS

Caddy now owns the certificate of repo.fws-linux.org: it obtains and
renews it, redirects http:// to https:// and serves HTTP/3. The plain
http://:30065 block stays for tests until the DNS record exists, and the
pacman block, install output and both READMEs point at the HTTPS URL.
This commit is contained in:
Gianmarco-Ruberti committed 2026-12-03 12:02:42 +01:00
1 parent 30cb9c9fc2
commit 337e9b305a
7 files changed
+176 -58

No files matched your search

+9 -7
View File
@@ -4,9 +4,10 @@ Sources (PKGBUILD) des paquets du dépôt pacman officiel **`fws`**.
Un paquet = un dossier contenant son `PKGBUILD` et ses fichiers.
> **Hébergement des paquets compilés : à venir.** Le dépôt pacman (base `fws.db`
> signée + paquets `.pkg.tar.zst`) sera servi par un VPS dédié. Tant qu'il
> n'existe pas, ce dépôt ne contient que les sources : aucune machine ne doit
> encore pointer `pacman.conf` vers une adresse provisoire.
> + paquets `.pkg.tar.zst`) sera servi par un VPS dédié sur
> `https://repo.fws-linux.org` : la configuration Caddy et HTTPS est prête
> (`server/Caddyfile`), il ne manque que le DNS. Tant qu'il n'existe pas, aucune
> machine ne doit pointer `pacman.conf` vers une adresse provisoire.
## Paquets
@@ -31,9 +32,10 @@ makepkg -f
## Serveur du dépôt (auto-hébergé)
`server/` contient le serveur qui publie réellement le dépôt `fws` sur
`mc.laxacube.ch:30065` : service HTTP Python (stdlib), interface `/admin`,
API `/api`, script `push.sh`, installateur systemd et la configuration Caddy
déployée (`server/Caddyfile`, port 30065, paquets servis en statique).
`server/` contient le serveur qui publie réellement le dépôt `fws` : service
HTTP Python (stdlib), interface `/admin`, API `/api`, script `push.sh`,
installateur systemd et la configuration Caddy déployée (`server/Caddyfile`) :
domaine `repo.fws-linux.org` en HTTPS automatique, plus le port 30065 en
clair pour les tests tant que le DNS n'existe pas.
Voir [`server/README.md`](server/README.md) et le bloc client
[`server/pacman.conf.snippet`](server/pacman.conf.snippet).