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

Document importance to order of paths #422

Closed
tamalsaha opened this issue Aug 27, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@tamalsaha
Copy link
Member

commented Aug 27, 2017

acl url_acl_service-rwe33l path_beg / 
acl host_acl_service-rwe33l hdr(host) -i domain.com
use_backend https-service-rwe33l if url_acl_service-rwe33l host_acl_service-rwe33l

acl url_acl_service-u4nlas path_beg /ws 
acl host_acl_service-u4nlas hdr(host) -i domain.com 
use_backend https-service-u4nlas if url_acl_service-u4nlas host_acl_service-u4nlas

This does not work. Reversing /ws and / paths will make it work as expected.

@tamalsaha tamalsaha added this to the 3.2.0 milestone Aug 27, 2017

@tamalsaha tamalsaha modified the milestones: 4.0.0, 3.2.0 Sep 11, 2017

@tamalsaha tamalsaha modified the milestones: 4.0.0, 5.0.0 Oct 4, 2017

@tamalsaha tamalsaha modified the milestones: 5.0.0, 4.1.0 Oct 12, 2017

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Nov 25, 2017

This is not required anymore, since we sort paths now.

sort.Slice(svc.Paths, func(j, k int) bool {

@tamalsaha tamalsaha closed this Nov 25, 2017

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.