Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Cloudflare IP logging

Cloudflare IP logging

Scheduled Pinned Locked Moved Feature Requests
cloudflare
4 Posts 4 Posters 449 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    matthijs
    wrote on last edited by girish
    #1

    This can be implemented for Apache packages with mod_remoteip as per https://support.cloudflare.com/hc/en-us/articles/200170786#C5XWe97z77b3XZV.

    Other solutions for non Apache based apps would also be nice 🙂

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Do you have any more information on what "Cloudflare IP logging" is in this context? In Cloudron outside requests anyways first hit the nginx reverse proxy and apache may or may not be part of an app further upstream. The apps usually already handle the remoteip, if not we should fixup those first.

      robiR 1 Reply Last reply
      0
      • nebulonN nebulon

        Do you have any more information on what "Cloudflare IP logging" is in this context? In Cloudron outside requests anyways first hit the nginx reverse proxy and apache may or may not be part of an app further upstream. The apps usually already handle the remoteip, if not we should fixup those first.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by robi
        #3

        @nebulon If you click on that link in the OP, it has an NGINX section that suggests using real_ip_header to get the customer IP instead of the CF proxy IPs.

        More here:
        https://danielmiessler.com/blog/getting-real-ip-addresses-using-cloudflare-nginx-and-varnish/

        Conscious tech

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          My understanding is that this will allow apps to get the real IP when behind Cloudflare. Currently, the apps get Cloudflare's IP.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search