Skip to content

Instantly share code, notes, and snippets.

@lamoboos223
Created September 30, 2022 12:41
Show Gist options
  • Save lamoboos223/d5c91fb1620c606ce7cf2938e3a169c4 to your computer and use it in GitHub Desktop.
Save lamoboos223/d5c91fb1620c606ce7cf2938e3a169c4 to your computer and use it in GitHub Desktop.
frontend http
bind *:80
timeout client 60s
mode http
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