Skip to content

Example in cli help for proxy-trusted-origins should be an ip #4752

@ntimo

Description

@ntimo

The example for the flag --proxy-trusted-origins mentions that you can set example.com as an accepted value. This will not work and coder won't start since only ip ranges are supported. Therefore the example needs to be fixed :)

Current command help description:

      --proxy-trusted-origins strings              Origin addresses to respect
                                                   "proxy-trusted-headers". e.g. example.com
                                                   Consumes
                                                   $CODER_PROXY_TRUSTED_ORIGINS

Ideal command help description:

      --proxy-trusted-origins strings              Origin addresses to respect
                                                   "proxy-trusted-headers". e.g. 192.168.178.0/24
                                                   Consumes
                                                   $CODER_PROXY_TRUSTED_ORIGINS

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