Skip to content

Customize Access Logs (with Rancher) #108

Description

@fickledestiny

Hello,
I'm beginning in Rancher and I'm using Traefik as a reverse proxy for my containers.

I would like to add the frontend name in the access log, and maybe change the Client Address with the real one from X-forwareded-for header.

I've found this doc: https://docs.traefik.io/configuration/logs/#access-logs
But I don't understand how to apply that with Rancher metadata API or environment variables .

What would be the best practice to do that ?

Regards,
Sgrunt

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