Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for more options in ALLOWED_HOSTS #1

Closed
jwir3 opened this issue Feb 24, 2022 · 0 comments
Closed

Allow for more options in ALLOWED_HOSTS #1

jwir3 opened this issue Feb 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jwir3
Copy link
Contributor

jwir3 commented Feb 24, 2022

Right now, ALLOWED_HOSTS is an environment variable that allows avatar services to specify from which hosts archtype can be used. It is a comma-separated list of IPv4 addresses. It would be better if we could enhance it with the following features:

  1. Allow for a regular expression (e.g. * or 202.*)
  2. Allow for domain names to be resolved through a DNS resolver, so hostnames can be placed in ALLOWED_HOSTS.
@jwir3 jwir3 added the enhancement New feature or request label Feb 24, 2022
@jwir3 jwir3 closed this as completed in c1d8e8f Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant