feat(server): add self-hosted fws Arch repo server and Caddy config
Publishes the Python stdlib server (admin UI, upload API, repo-add compatible DB generation) with its deployed Caddyfile, install script and pacman client snippet, so the whole fws repository stack lives next to the package sources. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
1 parent
a73a901389
commit
c903e28254
10 files changed
+1851
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# archrepo : interface/API vers le service Python, paquets servis en statique.
|
||||
# ":30065" accepte n'importe quel Host (nom de domaine, IP, localhost).
|
||||
http://:30065 {
|
||||
handle /admin* {
|
||||
encode zstd gzip
|
||||
reverse_proxy 127.0.0.1:8099
|
||||
}
|
||||
|
||||
handle /api/* {
|
||||
encode zstd gzip
|
||||
reverse_proxy 127.0.0.1:8099
|
||||
}
|
||||
|
||||
handle {
|
||||
root * /var/www/fws
|
||||
file_server browse
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user