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>
19 lines
368 B
Caddyfile
19 lines
368 B
Caddyfile
# 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
|
|
}
|
|
}
|