The readme explains how to install it with nginx, but it'd be nice to have some help for us caddy users too.
The readme explains how to install it with nginx, but it'd be nice to have some help for us caddy users too.
The readme explains how to install it with nginx, but it'd be nice to have some help for us caddy users too.
Hi @technomancy
Here's a suggested Caddyfile entry
yourdomain.com {
@blocked {
path /data/* /sessions/*
}
respond @blocked 403
root * /var/www/html/smolfedi
php_fastcgi unix//run/php/php8.1-fpm.sock
file_server
encode gzip zstd
}
The yourdomain.com shold be your own domain name for Smolfedi and the root entry set to the folder you have the app in
php8.1-fpm.sock will depend on what version of php you are using
I've tested this with Caddy v.2.10
Thanks!
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?