Browse Source

HAProxy: update for Pi-Hole

multi_domain
ßingen 7 years ago
parent
commit
64179b2286
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      images/rpi-haproxy/haproxy.cfg

+ 4
- 1
images/rpi-haproxy/haproxy.cfg View File

use_backend letsencrypt-backend if letsencrypt-acl use_backend letsencrypt-backend if letsencrypt-acl
use_backend nextcloud-insecure if is_nextcloud use_backend nextcloud-insecure if is_nextcloud
use_backend gogs-insecure if is_gogs use_backend gogs-insecure if is_gogs
default_backend nextcloud-insecure
default_backend pihole-insecure


backend nextcloud-insecure backend nextcloud-insecure
server nextcloud nextcloud:80 maxconn 32 server nextcloud nextcloud:80 maxconn 32
backend gogs-insecure backend gogs-insecure
server gogs gogs:2080 maxconn 32 server gogs gogs:2080 maxconn 32


backend pihole-insecure
server pihole pihole:80 maxconn 32

# LE Backend # LE Backend
backend letsencrypt-backend backend letsencrypt-backend
server letsencrypt 127.0.0.1:8888 server letsencrypt 127.0.0.1:8888

Loading…
Cancel
Save