This plugin installs haproxy as a load balancer for whaler.
Plugin is useful when you need deploy multiple applications on one server, or use complex application publishing.
whaler plugins:install whaler-haproxy-pluginNB! This step is pure optional and only needed to resolve
*.whaler.lhdomains.
add string 127.0.0.1 <app-name>.whaler.lh to /etc/hosts or install whaler-hosts-plugin
services:
service-name:
web: 80
ssl: 443
...
# OR
services:
service-name:
web:
port: 80
defaults: |
timeout server 50s
ssl:
port: 443
send-proxy: true
...This software is under the MIT license. See the complete license in:
LICENSE