Last active
June 22, 2018 17:06
-
-
Save TimWolla/faf20769c5ba46b6f1db79238f7cc8a7 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 http | |
mode http | |
bind :::80 v4v6 | |
http-request lua.auth-request auth_request /is-allowed | |
http-request deny if ! { var(txn.auth_response_successful) -m bool } | |
backend auth_request | |
mode http | |
server auth_request 127.0.0.1:8080 | |
listen auth_request2 | |
mode http | |
bind 127.0.0.1:8080 | |
server one 10.0.0.1:8080 ssl check | |
server two 10.0.0.2:8080 ssl check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment