Hi folks,
i migrated the server where my flarum instance is to the Caddy webserver.
Sadly i am failing to bring flarum back alive. Just 404, nothing in the logs.
forum.domain.de {
tls /etc/letsencrypt/live/forum.domain.de/cert.pem /etc/letsencrypt/live/forum.domain.de/privkey.pem
root /var/www/forum.domain.de/
fastcgi / /var/run/php-fpm/php-fpm.sock php {
index index.php # one of many tries but the latest state
ext .html
}
rewrite {
r ^/index.php/.*$
to /index.php?{query}
r ^/api.php/.*$
to /api.php?{query}
r ^/admin.php/.*$
to /admin.php?{query}
}
}
I hope someone already had succes with that. ?