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

Fix Host:Port Matching issue. #425

Merged
merged 5 commits into from Aug 28, 2017

Conversation

Projects
None yet
2 participants
@sadlil
Copy link
Contributor

commented Aug 28, 2017

ACLs sharing the same name
It is possible to use the same for many ACLs, even if they don’t have the same matching criterion A logical OR applies between all of them
https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#acls-sharing-the-same-name

@sadlil sadlil self-assigned this Aug 28, 2017

@sadlil sadlil requested a review from tamalsaha Aug 28, 2017

@sadlil

This comment has been minimized.

Copy link
Contributor Author

commented Aug 28, 2017

For standered port

acl host_acl_rebecka hdr(host) -i test.appscode.dev
acl host_acl_rebecka hdr(host) -i test.appscode.dev:80

For Specified port

acl host_acl_yara hdr(host) -i ex.appscode.dev:32000
@tamalsaha

This comment has been minimized.

Copy link
Member

commented Aug 28, 2017

Fixes #418

@tamalsaha tamalsaha merged commit b05bed3 into master Aug 28, 2017

@tamalsaha tamalsaha deleted the fix-hdr-host-bug branch Aug 28, 2017

tamalsaha added a commit that referenced this pull request Dec 13, 2017

Fix Host:Port Matching issue. (#425)
ACLs sharing the same name
It is possible to use the same <aclname> for many ACLs, even if they don’t have the same matching criterion A logical OR applies between all of them
https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#acls-sharing-the-same-name

For standered port
```
acl host_acl_rebecka hdr(host) -i test.appscode.dev
acl host_acl_rebecka hdr(host) -i test.appscode.dev:80
```
For Specified port
```
acl host_acl_yara hdr(host) -i ex.appscode.dev:32000
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.