If you use Cloudflare CDN with Flarum it will eventually cause issue. OVH isn't the same. If you can get it to work initially (and you should, I just did an install on a basic VPS for someone this morning) then it's good for the long-haul.
webeindustry You only need to disable cache for the API (which can be done with page rules) discuss operates with their cache enabled (thus providing DDoS protection). Without the orange cloud you leave yourself open to DDoS and other attacks on your server.
I know CloudFlare causes issues, I disabled their cache system which fixed my problems.
clarkwinkelmann I suck with Linux stuff lol, so unless someone can explain exactly how I install and enable this module I'm kinda stuck.
https://support.cloudflare.com/hc/en-us/articles/200170706-How-do-I-restore-original-visitor-IP-with-Nginx-
toto1234567 Congrats for not reading my post, I already said I've read this.
Next time don't use some strange url service ?
toto1234567 Nothing wrong with URL shorteners, it's just a custom one I setup with my username.
thunder (I should have clicked, maybe) I'm just curious, why don't you directly post the link ?
toto1234567 Cuz I like my posts to be shorter and neat. ?
thunder Many people, including me, don't click shortened links.
thunder Cuz I like my posts to be shorter and neat. ?
You may also use markdown to create inline links
You may also use markdown to create [inline links](http://daringfireball.net/projects/markdown/syntax#link)
clarkwinkelmann You need to install/enable that module (it's not from Cloudflare, it's a standard NGINX module). I'm not sure how to do it and it depends on your system/config. Then in your site config you need to add the items they show you. This is the list of Cloudflare IPs (that, as they say, will need to be updated from time to time). When the module sees one of these IPs, it will replace it with either the CF-Connecting-IP or X-Forwarded-For header (that's what you choose on the last line).
clarkwinkelmann You need to install/enable that module (it's not from Cloudflare, it's a standard NGINX module). I'm not sure how to do it and it depends on your system/config.
Then in your site config you need to add the items they show you. This is the list of Cloudflare IPs (that, as they say, will need to be updated from time to time). When the module sees one of these IPs, it will replace it with either the CF-Connecting-IP or X-Forwarded-For header (that's what you choose on the last line).
thunder
Don't want to bring old discussions back to live but since I enabled Cloudflare I am having the same issue with IP addresses. Could someone maybe assist me a bit with the tutorial (https://support.cloudflare.com/hc/en-us/articles/200170786-How-do-I-restore-original-visitor-IP-with-Nginx-)?
As far as I understood it (I am running nginx on a Debian 10 buster) I have to do that:
set_real_ip_from 173.245.48.0/20 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 141.101.64.0/18 set_real_ip_from 108.162.192.0/18 set_real_ip_from 190.93.240.0/20 set_real_ip_from 188.114.96.0/20 ... real_ip_header CF-Connecting-IP;
Correct?