I don't have any problems with Origin Errors
I use wordfence with : "Use the X-Forwarded-For HTTP header. Only use if you have a front-end proxy or spoofing may result. " with options :
(wp-admin/admin.php?page=Wordfence&subpage=global_options)
Trusted Proxies (IP)
52.20.63.25
3.225.202.138
3.217.200.190
54.212.71.227
52.12.170.68
34.218.21.81
3.7.90.144
13.127.240.219
18.139.6.69
18.140.184.0
3.106.6.164
3.106.176.6
13.237.131.67
15.222.77.144
15.222.108.52
18.157.131.187
18.157.105.182
3.126.25.160
34.248.174.237
52.16.85.139
34.255.61.232
15.236.165.82
15.236.137.228
15.236.166.30
18.228.20.129
18.228.107.195
2600:1f10:4c55:e200::/56
2600:1f13:393:600::/56
2406:da1a:e10::/56
2406:da18:9d0:1400::/56
2406:da1c:58a:e100::/56
2600:1f11:f39:6f00::/56
2a05:d014:776:a600::/56
2a05:d018:dd:7800::/56
2a05:d012:4d8:6800::/56
2600:1f1e:342:2f00::/56
Trusted Proxy Preset
EZOIC
PHP init
max_execution_time : 3000
post_max_size: 50 M
upload_max_filesize : 50 M
Server under PLESK Obsidian (Apache + Nginx)
cloudflare 504 error occurs after 60 seconds