-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(proxy): add --proxy-domains flag for domain-specific proxying with wildcard support #582
feat(proxy): add --proxy-domains flag for domain-specific proxying with wildcard support #582
Conversation
maksadbek
commented
Aug 3, 2024
•
edited
Loading
edited
- Rename “proxy-internal” to “proxy-target”.
- Rename “proxy-external” to “proxy-bright”.
- Add a new “proxy-domains” flag as an optional flag. It can be accepted when the user is setting either “proxy-target” or “proxy”. It can receive a comma-separated list of domains which will be proxied. Any domain that is not part of the list won’t be proxied. Notes: Support for wildcard is required. If I specify “*.foo.bar” as one of the domains, “a.foo.bar”, “b.foo.bar”, etc. will all be proxied.
- Bright domains will always be proxied when using with the “proxy” flag, without a need to have them explicitly listed as part of the “proxy-domains” list. if the user doesn’t want to proxy bright domains, he should use only "proxy-target"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow conventional commits
450eb4c
to
9f90dde
Compare
47080e2
to
efc4df6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust PR title to follow conventional commits. PR title is the header of commit and PR description act as body+footer
Co-authored-by: denis-maiorov-brightsec <103932492+denis-maiorov-brightsec@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me