Skip to content

ip addresses of users #137

@christianmerges

Description

@christianmerges

When using claudflare docker container as a reverse proxy, i cannot see the public ip in the user profiles, it is showing a locale ip address instead. There has to be some extra configuration to trust the headers from cloudflare.

my yaml:

moodle:
    image: erseco/alpine-moodle
    environment:
      REVERSEPROXY: "false"
      SSLPROXY: "true"
      SITE_URL: https://fqdn

When I do REVERSEPROXY: "true", i cannot access the lms anymore, because I get this error when I try to access it from the public domain with https:

Reverse proxy enabled so the server cannot be accessed directly. Please contact the server administrator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions