2025-07-11 11:12:58 +02:00
2025-07-10 09:12:51 +02:00
2025-07-10 09:12:51 +02:00
2025-07-11 11:12:58 +02:00
2025-07-11 11:12:58 +02:00
2025-07-11 11:12:58 +02:00
2025-07-10 09:12:51 +02:00
2025-06-27 06:58:44 +02:00
2025-07-10 09:12:51 +02:00
2025-06-24 08:50:58 +02:00
2025-06-24 08:50:58 +02:00
2025-07-01 08:13:59 +02:00
2025-06-27 06:58:44 +02:00
2025-07-01 08:13:59 +02:00
2025-06-27 06:58:44 +02:00
2025-07-11 11:12:58 +02:00
2025-07-10 09:12:51 +02:00
2025-07-02 18:54:51 +00:00
2025-07-02 12:15:48 +02:00

apxtri

For @Yann

install Caddy

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo tee /etc/apt/trusted.gpg.d/caddy.gpg > /dev/null
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy.list
sudo apt update
sudo apt install caddy
# pour donner des droits d'acces au user caddy sur les data/*/objects/wwws/ remplacer par dataPath
sudo apt install acl
sudo find /media/phil/usbfarm/apxtowns/data/ -type d -name "wwws" -exec setfacl -R -m u:caddy:rx {} \;
 
# For dev to get https local NOT FOR PROD
sudo apt install libnss3-tools
sudo caddy trust
####################
# Automatiquement started in systemctl 
# lance en curl à mettre dans apxtri.js avec fichier caddy_config.json
curl -X POST \
  -H "Content-Type: application/json" \
  --data-binary @caddy_config.json \
  http://localhost:2019/load

Quand on ajoute un nouveau repertoire wwws il faut lancer la commande setfacl pour donner les droits à caddy.

Description
Main tribe that manage many other tribes in an apXtri town
Readme 3.3 MiB
Languages
JavaScript 98.5%
Shell 1.5%