浏览代码

HAProxy: update for Pi-Hole

multi_domain
ßingen 7 年前
父节点
当前提交
64179b2286
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      images/rpi-haproxy/haproxy.cfg

+ 4
- 1
images/rpi-haproxy/haproxy.cfg 查看文件

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

正在加载...
取消
保存