ISPConfig and Cloudflare Railgun

Discussion in 'Installation/Configuration' started by fatmike, Mar 4, 2019.

  1. fatmike

    fatmike Member

    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
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    My guess is to put it in Websites Options Apache Directives.
     
    fatmike likes this.
  3. fatmike

    fatmike Member

    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
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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
     
    fatmike likes this.
  5. fatmike

    fatmike Member

    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.
     
    Last edited: Mar 6, 2019
  6. fatmike

    fatmike Member

    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.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the website error.log to find out what the issue is.
     

Share This Page