LOAD stats xs enable headers SERVER aio_mode = ioaio SERVER aio_threads = 10 CREATE POOL test_http_pool SET nodefile = /etc/perlbal/http_nodes.conf CREATE POOL test_https_pool SET nodefile = /etc/perlbal/https_nodes.conf CREATE SERVICE test_http_balancer SET listen = 69.69.69.69:80 SET role = reverse_proxy SET pool = test_http_pool SET plugins = stats SET persist_client = off SET persist_backend = on SET verify_backend = off ENABLE test_http_balancer CREATE SERVICE test_https_balancer SET listen = 69.69.69.69:443 SET role = reverse_proxy SET pool = test_https_pool SET plugins = stats SET persist_client = off SET persist_backend = on SET verify_backend = off SET enable_ssl = on SET ssl_cipher_list = ALL SET ssl_key_file = /etc/perlbal/test_server_key.pem SET ssl_cert_file = /etc/perlbal/test_server_cert.pem ENABLE test_https_balancer CREATE SERVICE test_http_static SET listen = 69.69.69.70:80 SET role = web_server SET docroot = /var/www/static SET persist_client = on SET persist_client_timeout = 5 ENABLE test_http_static CREATE SERVICE test_https_static SET listen = 69.69.69.70:443 SET role = web_server SET docroot = /var/www/test SET persist_client = on SET persist_client_timeout = 5 SET enable_ssl = on SET ssl_cipher_list = ALL SET ssl_key_file = /etc/perlbal/test_server_key.pem SET ssl_cert_file = /etc/perlbal/test_server_cert.pem ENABLE test_https_static # always good to keep an internal management port open: CREATE SERVICE mgmt SET role = management SET listen = 127.0.0.1:60000 ENABLE mgmt