Hello. I'm trying to implement Cloudflares railgun daemon to an existing server debian 9 server with ISPConfig 3.1 installed. Cloudflare requires to add the following line according to documentation Code: CloudFlareRemoteIPTrustedProxy 127.0.0.1 Where should I put that line in order to work as supposed to and not getting changed each time a website updates? Is it in httpoxy.conf? Should I do this manually? Best Regards
Hello. Hmm Railgun is using memcache to fetch an store cached information. So (I think) Cloudflare need access to the whole server not just a website. Isn't "Websites Options Apache Directives" work only under a single website? Best regards
Yes. But normally you use cloudflare just for a specific domain and not for all domains, therefore you would insert this for the websites that use cloudflare. But you can insert it globally as well, e.g. in apache2.conf, when you want to use cloudflare for all sites
From Cloudflare support: I'll try using Websites Options Apache Directives and if that does not work as supposed to, I'll add to the apache2.conf file. I'll report back EDIT: In case you don't know Argo is a Cloudflare service that caches the content you choose(via page rules etc) to all of Cloudflares datacenters around the globe.
Sadly this results in a 403 Forbidden response on the website. I'm in touch with cloudflare support. I hope I'll manage to solve this. Best regards.
The problem seemed to be a not ACSII character that was "hidden" and was attached after copy/paste the command. Once I entered the command manually there was no error whatsoever and website working fine. Best regards
The problem occured again after initiating rg-listener and run railgun. 1 of 2-3 time there was an error 403 returned. Just in case someone else face this issue in the near future I had to add two directives to the apache: Code: CloudFlareRemoteIPTrustedProxy 127.0.0.1 CloudFlareRemoteIPTrustedProxy (here.your.public.ip) So I had to put the server's public IP as well. It seems that Railgun listener is sending request to the web server locally, but over the public IP as well.