Skip to content

Include the ngx_http_log_module in the nginx build  #294

@nealdb

Description

@nealdb

linuxserver.io


Desired Behavior

Include the ngx_http_log_module in the nginx build to allow full urls to be shown and correct IPs when behind Cloudflare

Current Behavior

Since the default behaviour of SWAG is to place logging for all sites proxied it can be hard to determine which sites are being requested.
I'd like to be able to use the $host variable in the logs to show the site being requested

Also since putting my sites behind Cloadflare's DNS proxy I only see Cloudflare IP's in my logs. the ngx_http_log_module would allow use of the $http_x_forwarded_for too which would show the originating IP

Alternatives Considered

I was considering alternate log files per site but wasn't sure if the dashboard would pick them up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions