-
-
Save mrafayaleem/2d21bdfde866e5e6ea73fd993d850bd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend all | |
bind *:80 | |
timeout client 50000 | |
default_backend main | |
acl is_old_webhook path_reg ^\/webhook-old.* | |
acl is_refund path_reg ^\/refund-endpoint.* | |
acl is_new_webhook path_reg ^\/webhook-new.* | |
use_backend old_service if is_old_webhook | |
use_backend new_service if is_refund | |
use_backend new_service if is_new_webhook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment