You might find this nginx configuration useful if you want to run your thirtybees on nginx + php-fpm
server {
listen 80;
index index.php index.html;
server_name localhost;
root /var/www/default;
# use original IP address changed by cloudflare
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 104.16.0.0/13;
set_real_ip_from 104.24.0.0/14;
set_real_ip_from 108.162.192.0/18;