Skip to content

allowed_hosts should allow wildcards #26

@faxm0dem

Description

@faxm0dem

According to the netbox documentation the ALLOWED_HOSTS parameter also accepts wildcards. Apparently only * is accepted, e.g. not *.foo.org. So the proposed change would be:

Array[Variant[Stdlib::Host,Pattern['^\*$']]] $allowed_hosts = ['netbox.exmple.com','localhost'],

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