Skip to content

combined-vhost format doesn't support ports in the vhost #848

@mjsir911

Description

@mjsir911

lines like this:

m.wizard.gay:443:71.6.134.234 - - [29/Oct/2025:00:20:59 +0000] "GET / HTTP/1.1" 200 4686 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"

don't work because it's interpreting the port after the ip address as the ip address:

{Path: "/", Title: "", Event: false, Ref: "", Size: "", Query: "", Bot: 0, UserAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36", Location: "", IP: "443", CreatedAt: "2025-10-29 00:20:59 +0000 UTC", Session: "", Host: "m.wizard.gay"}

this is probably a lil bit related to #840

I don't think there's a backwards-incompatible fix to this other than not log the ports in the output format, which might be reasonable but this + #840 really feels like there should just be some documented log formats to use with nginx (or apache, or whatever)

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