Skip to content

Scaling  #12

@shehabadel

Description

@shehabadel
  • Installed HaProxy on virtual machine
  • Create configuration dist.cfg
frontend distFE
	bind *:80
	timeout client 1000s
	mode http
	use_backend distBE

backend distBE
	mode http
	timeout server 1000s
	timeout connect 1000s
	server ws1 https://dist-ws1.herokuapp.com/
	server ws2 https://dist-ws2.herokuapp.com/

  • Run in a terminal haproxy -f dist.cfg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions