summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/contrib/demos/load-balancing-webapp/src/test/resources/apache-80/conf/workers.properties
blob: 9228c4fd8e1a80a210ce809ea79c368f8456497d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  # Load balancer looks after the workers
  worker.list=router
  
  # The load balacer
  worker.router.type=lb
  worker.router.balance_workers=worker1,worker2

  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=8010
  worker.worker1.lbfactor=1

  # Set properties for worker1 (ajp13)
  worker.worker2.type=ajp13
  worker.worker2.host=localhost
  worker.worker2.port=8011
  worker.worker2.lbfactor=1