Created
September 30, 2022 12:47
-
-
Save lamoboos223/e431ab8d7423925632def129a27fb9f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
bind *:80 | |
timeout client 60s | |
mode http | |
acl app1 path_end -i /app1 | |
acl app2 path_end -i /app2 | |
use_backend demo-app1 if app1 | |
use_backend demo-app2 if app2 | |
default_backend demo-apps | |
backend demo-app1 | |
timeout connect 10s | |
timeout server 100s | |
mode http | |
server app1 127.0.0.1:8081 | |
backend demo-app2 | |
timeout connect 10s | |
timeout server 100s | |
mode http | |
server app2 127.0.0.1:8082 | |
backend demo-apps | |
timeout connect 10s | |
timeout server 100s | |
mode http | |
server app1 127.0.0.1:8081 | |
server app2 127.0.0.1:8082 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment