I install flarum on Debian11, the path is /root/flarum/
flarum v1.2.0 php7.4
chmod -R 755 /root/flarum
chmod -R 755 /root/flarum/storage
chmod -R 755 /root/flarum/vendor
chmod -R 755 /root/flarum/public
chmod -R 755 /root/flarum/storage/.
chmod -R 755 /root/flarum/vendor/.
chmod -R 755 /root/flarum/public/.
I give almost every file 755
Then,chown -R www-data:www-data ~/flarum
Caddyfile:
xxx.com{
root * /root/flarum/public
php_fastcgi unix//var/run/php/php7.4-fpm.sock
header /assets {
+Cache-Control "public, must-revalidate, proxy-revalidate"
+Cache-Control "max-age=25000"
Pragma "public"
}
file_server
}
When I visit it on Chrome,it shows error 403
no access to visit
I tried many times,used 3 different devices,reboot for countless times, I really don't know how to fix it